kolena.errors
Reference for various exceptions raised from kolena
. All custom exceptions extend the base
KolenaError
.
KolenaError
#
Bases: Exception
Base error for all Kolena errors to extend. Allows consumers to catch Kolena specific errors.
InputValidationError
#
Bases: ValueError
, KolenaError
Exception indicating that provided input data failed validation.
IncorrectUsageError
#
Bases: RuntimeError
, KolenaError
Exception indicating that the user performed a disallowed action with the client.
InvalidTokenError
#
Bases: ValueError
, KolenaError
Exception indicating that provided token value was invalid.
InvalidClientStateError
#
Bases: RuntimeError
, KolenaError
Exception indicating that client state was invalid.
UninitializedError
#
Bases: InvalidClientStateError
Exception indicating that the client has not been properly initialized before usage.
DirectInstantiationError
#
Bases: RuntimeError
, KolenaError
Exception indicating that the default constructor was used for a class that does not support direct instantiation. Available static constructors should be used when this exception is encountered.
FrozenObjectError
#
Bases: RuntimeError
, KolenaError
Exception indicating that the user attempted to modify a frozen object.
UnauthenticatedError
#
Bases: HTTPError
, KolenaError
Exception indicating unauthenticated usage of the client.
RemoteError
#
Bases: HTTPError
, KolenaError
Exception indicating that a remote error occurred in communications between the Kolena client and server.
CustomMetricsException
#
Bases: KolenaError
Exception indicating that there's an error when computing custom metrics.
WorkflowMismatchError
#
Bases: KolenaError
Exception indicating a workflow mismatch.
NotFoundError
#
Bases: RemoteError
Exception indicating an entity is not found
NameConflictError
#
Bases: RemoteError
Exception indicating the name of an entity is conflict