Skip to content

exception ¤

Schemas for common typed of nendo objects.

NendoBlobNotFoundError ¤

NendoBlobNotFoundError(message, target_id)

Bases: NendoLibraryIdError

Error raised if a blob was accessed that does not exist.

Source code in src/nendo/schema/exception.py
65
66
67
def __init__(self, message, target_id):  # noqa: D107
    super().__init__(message)
    self.target_id = target_id

NendoBucketNotFoundError ¤

NendoBucketNotFoundError(message, bucket_name)

Bases: NendoStorageError

A library error that refers to an item with a specified id.

Source code in src/nendo/schema/exception.py
131
132
133
def __init__(self, message, bucket_name):  # noqa: D107
    super().__init__(message)
    self.bucket_name = bucket_name

NendoCollectionNotFoundError ¤

NendoCollectionNotFoundError(message, target_id)

Bases: NendoLibraryIdError

Error raised if a collection was accessed that does not exist.

Source code in src/nendo/schema/exception.py
65
66
67
def __init__(self, message, target_id):  # noqa: D107
    super().__init__(message)
    self.target_id = target_id

NendoError ¤

NendoError(message)

Bases: Exception

Base class for nendo errors.

Source code in src/nendo/schema/exception.py
 8
 9
10
def __init__(self, message):  # noqa: D107
    super().__init__(message)
    self.message = message

NendoFileFormatError ¤

NendoFileFormatError(message)

Bases: NendoLibraryError

Error raised if there is an error with the format of a processed file.

Source code in src/nendo/schema/exception.py
 8
 9
10
def __init__(self, message):  # noqa: D107
    super().__init__(message)
    self.message = message

NendoIdError ¤

NendoIdError(message, target_id)

Bases: NendoError

Nendo error with an additional details field.

Source code in src/nendo/schema/exception.py
16
17
18
def __init__(self, message, target_id):  # noqa: D107
    super().__init__(message)
    self.target_id = target_id

NendoLibraryError ¤

NendoLibraryError(message)

Bases: NendoError

Generic library error.

All other library error inherit from this.

Source code in src/nendo/schema/exception.py
 8
 9
10
def __init__(self, message):  # noqa: D107
    super().__init__(message)
    self.message = message

NendoLibraryIdError ¤

NendoLibraryIdError(message, target_id)

Bases: NendoLibraryError

A library error that refers to an item with a specified id.

Source code in src/nendo/schema/exception.py
65
66
67
def __init__(self, message, target_id):  # noqa: D107
    super().__init__(message)
    self.target_id = target_id

NendoMalformedIDError ¤

NendoMalformedIDError(message, target_id)

Bases: NendoLibraryIdError

Error raised if the given ID is malformed / does not represent a valid UUID.

Source code in src/nendo/schema/exception.py
65
66
67
def __init__(self, message, target_id):  # noqa: D107
    super().__init__(message)
    self.target_id = target_id

NendoPluginConfigError ¤

NendoPluginConfigError(message)

Bases: NendoPluginError

Error related to the (mis)configuration of a plugin.

Source code in src/nendo/schema/exception.py
 8
 9
10
def __init__(self, message):  # noqa: D107
    super().__init__(message)
    self.message = message

NendoPluginDataNotFoundError ¤

NendoPluginDataNotFoundError(message, target_id)

Bases: NendoLibraryIdError

Error raised if a plugin data was accessed that does not exist.

Source code in src/nendo/schema/exception.py
65
66
67
def __init__(self, message, target_id):  # noqa: D107
    super().__init__(message)
    self.target_id = target_id

NendoPluginError ¤

NendoPluginError(message)

Bases: NendoError

Generic Plugin Error.

Any custom plugin error should inherit from this.

Source code in src/nendo/schema/exception.py
 8
 9
10
def __init__(self, message):  # noqa: D107
    super().__init__(message)
    self.message = message

NendoPluginLoadingError ¤

NendoPluginLoadingError(message)

Bases: NendoPluginError

Error related to loading of a plugin.

Source code in src/nendo/schema/exception.py
 8
 9
10
def __init__(self, message):  # noqa: D107
    super().__init__(message)
    self.message = message

NendoPluginRuntimeError ¤

NendoPluginRuntimeError(message)

Bases: NendoPluginError

Generic plugin runtime error.

Source code in src/nendo/schema/exception.py
 8
 9
10
def __init__(self, message):  # noqa: D107
    super().__init__(message)
    self.message = message

NendoRelationshipNotFoundError ¤

NendoRelationshipNotFoundError(
    message, source_id, target_id
)

Bases: NendoLibraryError

Error raised if a relationship does not exist beween two IDs.

Source code in src/nendo/schema/exception.py
101
102
103
104
def __init__(self, message, source_id, target_id):  # noqa: D107
    super().__init__(message)
    self.source_id = source_id
    self.target_id = target_id

NendoResourceError ¤

NendoResourceError(message, src)

Bases: NendoError

Error related to a Nendo resource.

Source code in src/nendo/schema/exception.py
54
55
56
def __init__(self, message, src):  # noqa: D107
    super().__init__(message)
    self.src = src

NendoStorageError ¤

NendoStorageError(message)

Bases: NendoLibraryError

Generic storage error.

Source code in src/nendo/schema/exception.py
 8
 9
10
def __init__(self, message):  # noqa: D107
    super().__init__(message)
    self.message = message

NendoTrackNotFoundError ¤

NendoTrackNotFoundError(message, target_id)

Bases: NendoLibraryIdError

Error raised if a track was accessed that does not exist.

Source code in src/nendo/schema/exception.py
65
66
67
def __init__(self, message, target_id):  # noqa: D107
    super().__init__(message)
    self.target_id = target_id

NendoUserNotFoundError ¤

NendoUserNotFoundError(message, target_id)

Bases: NendoLibraryIdError

Error raised if a user was accessed that does not exist.

Source code in src/nendo/schema/exception.py
65
66
67
def __init__(self, message, target_id):  # noqa: D107
    super().__init__(message)
    self.target_id = target_id