Errors
errors
¶
Errors/exceptions of the Ultimate Notion API.
EmptyDBError
¶
A special exception that tells us that a database is empty during probing.
EmptyListError
¶
Custom exception for an empty list in SList.
FilterQueryError
¶
An exception that is raised when a filter query is invalid.
InvalidAPIUsageError
¶
Raised when the API is used in an invalid way.
MultipleItemsError
¶
Custom exception for a list with multiple items in SList.
ReadOnlyPropertyError
¶
Raised when an attempt is made to write to a write-protected property.
SchemaError
¶
Raised when there are issues with the schema of a database.
SchemaNotBoundError(schema: type[Schema])
¶
Raised when the schema is not bound to a database.
schema = schema
instance-attribute
¶
SessionError
¶
Raised when there are issues with the Notion session.
UltimateNotionError
¶
Base class for all exceptions in this package.
UnknownPageError
¶
Raised when the page is unknown.
UnknownUserError
¶
Raised when the user is unknown.