Errors
FastPG defines explicit exception classes in fastpg.errors.
Connection and configuration
ReadConnectionNotAvailableErrorMultipleWriteConnectionsErrorInvalidConnectionNameErrorFastPGInstanceNotConfiguredErrorMalformedMetaErrorMalformedQuerysetError
Query construction and operators
InvalidINClauseValueErrorUnsupportedOperatorErrorInvalidRelatedFieldErrorInvalidPrefetchError
Result shape and cardinality
DoesNotExistMultipleRecordsFound
Mutation safety
NothingToCreateErrorUnrestrictedUpdateErrorUnrestrictedDeleteError
Pagination
InvalidPageError
Database execution
DatabaseErrorDuplicateKeyDatabaseError
DatabaseError includes SQLSTATE and driver exception class name when available.