Skip to main content
Exceptions used throughout the system.

ConfigInvalidError

Bases: ValidioError Exception when the configuration file is invalid.

ConfigNotFoundError

Parameters
str
required
str
required
str
required
Bases: ValidioError Exception when no configuration is found.

ForbiddenError

Bases: ValidioError Exception throw when doing forbidden request. This happens when trying to access API methods not allowed, e.g. adding resources to a namespace the API key is not part of.

ManifestConfigurationError

Parameters
Any
Bases: ValidioError Raised when there is an invalid configuration in the manifest.

UnauthorizedError

Parameters
str
required
str
required
Bases: ValidioError Exception thrown when unauthorized request is made.

ValidioBugError

Parameters
Any
Bases: ValidioError Same as ValidioError but marked for bugs to be reported.

ValidioConnectionError

Parameters
str
required
Exception
required
Bases: ValidioError Exception thrown when connection to Validio backend fails.

ValidioError

Parameters
Any
Bases: Exception Base exception used for every exception thrown by Validio.

ValidioResourceError

Parameters
Resource
required
str
required
Bases: ValidioError Exception related to a specific resource.

ValidioTimeoutError

Parameters
str | None
int | float | None
Bases: ValidioError Validio specific timeout error.