Package com.io7m.cardant.error_codes
Class CAStandardErrorCodes
java.lang.Object
com.io7m.cardant.error_codes.CAStandardErrorCodes
The standard error codes.
Note: This file is generated from codes.txt and should not be hand-edited.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CAErrorCodeAn API was used incorrectly.static CAErrorCodeAuthentication failed.static CAErrorCodeA cycle was introduced into a structure that is not supposed to be cyclic.static CAErrorCodeAn object already exists.static CAErrorCodeThe wrong HTTP method was used.static CAErrorCodeerrorIo()An internal I/O error.static CAErrorCodeA requested object was not found.static CAErrorCodeThe client and server have no supported protocols in common.static CAErrorCodeA user is trying to perform an operation without having logged in.static CAErrorCodeA generic "operation not permitted" error.static CAErrorCodeA parse error was encountered.static CAErrorCodeA client sent a broken message of some kind.static CAErrorCodeThe items to be removed have serial numbers and cannot be removed as part of a set.static CAErrorCodeAn attempt was made to remove more items than actually exist.static CAErrorCodeOne or more resources failed to close.static CAErrorCodeAn operation was denied by the security policy.static CAErrorCodeerrorSql()An internal SQL database error.static CAErrorCodeA violation of an SQL foreign key integrity constraint.static CAErrorCodeAn internal SQL database error relating to database revisioning.static CAErrorCodeA violation of an SQL uniqueness constraint.static CAErrorCodeAn attempt was made to use a query class that is unsupported.static CAErrorCodeAn error raised by the Trasco database versioning library.static CAErrorCodeType checking failed.static CAErrorCodeA field value did not match the provided pattern.static CAErrorCodeA field pattern was invalid.static CAErrorCodeA field was required but is missing.static CAErrorCodeA field in the type declaration refers to a nonexistent type.static CAErrorCodeThe type is referenced by one or more existing items.static CAErrorCodeThe scalar type is referenced by one or more existing types/fields.static CAErrorCodeAn attempt was made to reference a user that does not exist.
-
Method Details
-
errorApiMisuse
An API was used incorrectly.- Returns:
- The error code
-
errorAuthentication
Authentication failed.- Returns:
- The error code
-
errorCyclic
A cycle was introduced into a structure that is not supposed to be cyclic.- Returns:
- The error code
-
errorDuplicate
An object already exists.- Returns:
- The error code
-
errorHttpMethod
The wrong HTTP method was used.- Returns:
- The error code
-
errorIo
An internal I/O error.- Returns:
- The error code
-
errorNonexistent
A requested object was not found.- Returns:
- The error code
-
errorNotLoggedIn
A user is trying to perform an operation without having logged in.- Returns:
- The error code
-
errorNoSupportedProtocols
The client and server have no supported protocols in common.- Returns:
- The error code
-
errorOperationNotPermitted
A generic "operation not permitted" error.- Returns:
- The error code
-
errorParse
A parse error was encountered.- Returns:
- The error code
-
errorProtocol
A client sent a broken message of some kind.- Returns:
- The error code
-
errorRemoveIdentifiedItems
The items to be removed have serial numbers and cannot be removed as part of a set.- Returns:
- The error code
-
errorRemoveTooManyItems
An attempt was made to remove more items than actually exist.- Returns:
- The error code
-
errorResourceCloseFailed
One or more resources failed to close.- Returns:
- The error code
-
errorSecurityPolicyDenied
An operation was denied by the security policy.- Returns:
- The error code
-
errorSqlForeignKey
A violation of an SQL foreign key integrity constraint.- Returns:
- The error code
-
errorSqlRevision
An internal SQL database error relating to database revisioning.- Returns:
- The error code
-
errorSqlUnique
A violation of an SQL uniqueness constraint.- Returns:
- The error code
-
errorSqlUnsupportedQueryClass
An attempt was made to use a query class that is unsupported.- Returns:
- The error code
-
errorSql
An internal SQL database error.- Returns:
- The error code
-
errorTrasco
An error raised by the Trasco database versioning library.- Returns:
- The error code
-
errorTypeCheckFailed
Type checking failed.- Returns:
- The error code
-
errorTypeCheckFieldInvalid
A field value did not match the provided pattern.- Returns:
- The error code
-
errorTypeCheckFieldPatternFailure
A field pattern was invalid.- Returns:
- The error code
-
errorTypeCheckFieldRequiredMissing
A field was required but is missing.- Returns:
- The error code
-
errorTypeFieldTypeNonexistent
A field in the type declaration refers to a nonexistent type.- Returns:
- The error code
-
errorTypeReferenced
The type is referenced by one or more existing items.- Returns:
- The error code
-
errorTypeScalarReferenced
The scalar type is referenced by one or more existing types/fields.- Returns:
- The error code
-
errorUserNonexistent
An attempt was made to reference a user that does not exist.- Returns:
- The error code
-