Exceptions
matchbox.common.exceptions
¶
Custom exceptions for Matchbox.
Classes:
-
MatchboxException
–An exception has occurred in Matchbox..
-
MatchboxNameError
–Name did not pass validation.
-
MatchboxArrowSchemaMismatch
–Arrow schema mismatch.
-
MatchboxClientSettingsException
–Incorrect configuration provided to client.
-
MatchboxUnparsedClientRequest
–The API could not parse the content of the client request.
-
MatchboxUnhandledServerResponse
–The API sent an unexpected response.
-
MatchboxEmptyServerResponse
–The server returned an empty response when data was expected.
-
MatchboxSourceFieldError
–Specified fields diverge with the warehouse.
-
MatchboxSourceClientError
–Location client must be set.
-
MatchboxSourceExtractTransformError
–Invalid ETL logic detected.
-
MatchboxSourceTableError
–Tables not found in your source data warehouse.
-
MatchboxServerFileError
–There was a problem with file upload.
-
MatchboxModelConfigError
–There was a problem with ModelConfig.
-
MatchboxUserNotFoundError
–User not found.
-
MatchboxResolutionNotFoundError
–Resolution not found.
-
MatchboxCollectionNotFoundError
–Collection not found.
-
MatchboxRunNotFoundError
–Run not found.
-
MatchboxDataNotFound
–Data doesn’t exist in the Matchbox source table.
-
MatchboxConnectionError
–Connection to Matchbox’s backend database failed.
-
MatchboxDeletionNotConfirmed
–Deletion must be confirmed: if certain, rerun with certain=True.
-
MatchboxResolutionAlreadyExists
–Resolution already exists.
-
MatchboxCollectionAlreadyExists
–Collection already exists.
-
MatchboxRunAlreadyExists
–Run already exists.
-
MatchboxRunNotWriteable
–Run is not mutable.
-
MatchboxTooManySamplesRequested
–Too many samples have been requested from the server.
-
MatchboxNoJudgements
–No judgements found in the database when required for operation.
-
MatchboxDatabaseWriteError
–Could not be written to the backend DB, likely due to a constraint violation.
MatchboxArrowSchemaMismatch
¶
MatchboxUnhandledServerResponse
¶
MatchboxEmptyServerResponse
¶
MatchboxSourceTableError
¶
MatchboxUserNotFoundError
¶
MatchboxResolutionNotFoundError
¶
MatchboxResolutionNotFoundError(message: str | None = None, name: ResolutionName | None = None)
MatchboxCollectionNotFoundError
¶
MatchboxCollectionNotFoundError(message: str | None = None, name: CollectionName | None = None)
MatchboxRunNotFoundError
¶
MatchboxDataNotFound
¶
MatchboxDeletionNotConfirmed
¶
MatchboxDatabaseWriteError
¶
MatchboxDatabaseWriteError(message: str | None = None)
Bases: MatchboxException
Could not be written to the backend DB, likely due to a constraint violation.