trilium_alchemy.core.exceptions
¶
Exception index¶
Canonical
Raised when user attempts to write a field which is read-only. |
|
Raised upon flush when changes in unit of work are invalid or incompatible. |
Symbols¶
- exception trilium_alchemy.core.exceptions.ReadOnlyError(field, entity)¶
Initialization:
Initialize self. See help(type(self)) for accurate signature.
Bases:
Aliases:
trilium_alchemy.ReadOnlyError
trilium_alchemy.core.ReadOnlyError
Raised when user attempts to write a field which is read-only.
- add_note()¶
Inherited from:
BaseException
Exception.add_note(note) – add a note to the exception
- with_traceback()¶
Inherited from:
BaseException
Exception.with_traceback(tb) – set self.traceback to tb and return self.
- class args¶
Inherited from:
BaseException
- exception trilium_alchemy.core.exceptions.ValidationError(errors: list[str])¶
Initialization:
Initialize self. See help(type(self)) for accurate signature.
Bases:
Aliases:
trilium_alchemy.ValidationError
trilium_alchemy.core.ValidationError
Raised upon flush when changes in unit of work are invalid or incompatible.
Examples:
- add_note()¶
Inherited from:
BaseException
Exception.add_note(note) – add a note to the exception
- with_traceback()¶
Inherited from:
BaseException
Exception.with_traceback(tb) – set self.traceback to tb and return self.
- class args¶
Inherited from:
BaseException