Skip to content

error

Error definitions for store implementations.

ErrorAlreadyExists

Bases: RuntimeError

An error raised when a new entity is requested but it already exists.

Source code in mlte/store/error.py
4
5
6
7
class ErrorAlreadyExists(RuntimeError):
    """An error raised when a new entity is requested but it already exists."""

    pass

ErrorNotFound

Bases: RuntimeError

An error raised when the requested entity is not found.

Source code in mlte/store/error.py
10
11
12
13
class ErrorNotFound(RuntimeError):
    """An error raised when the requested entity is not found."""

    pass

ForbiddenError

Bases: RuntimeError

User without permissions for the operation.

Source code in mlte/store/error.py
28
29
30
31
class ForbiddenError(RuntimeError):
    """User without permissions for the operation."""

    pass

InternalError

Bases: RuntimeError

A logic error in our implementation.

Source code in mlte/store/error.py
16
17
18
19
class InternalError(RuntimeError):
    """A logic error in our implementation."""

    pass

UnauthenticatedError

Bases: RuntimeError

No authentication for operation that requires it.

Source code in mlte/store/error.py
22
23
24
25
class UnauthenticatedError(RuntimeError):
    """No authentication for operation that requires it."""

    pass