Package com.io7m.idstore.error_codes
Class IdStandardErrorCodes
java.lang.Object
com.io7m.idstore.error_codes.IdStandardErrorCodes
Standard error codes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IdErrorCodeAn attempt was made to create a admin that already exists.static final IdErrorCodeAn attempt was made to create a admin that already exists (ID conflict).static final IdErrorCodeAn attempt was made to create a admin that already exists (ID name conflict).static final IdErrorCodeAn attempt was made to reference a admin that does not exist.static final IdErrorCodeAn attempt was made to create an initial admin in a database, but a admin already existed.static final IdErrorCodeAn attempt was made to perform an operation that requires an admin or user.static final IdErrorCodeAn attempt was made to perform an operation that requires an admin.static final IdErrorCodeAuthenticating a user or admin failed.static final IdErrorCodeA user or admin is banned.static final IdErrorCodeAn attempt was made to create a user/admin that already exists (Email conflict).static final IdErrorCodeAn attempt was made to reference an email that does not exist.static final IdErrorCodeAn attempt was made to remove the last email address from a user.static final IdErrorCodeAn attempt was made to create a email verification token that already exists.static final IdErrorCodeAn email verification failed for any reason.static final IdErrorCodeAn attempt was made to reference a nonexistent email verification token.static final IdErrorCodeThe server returned an error code for an HTTP request.static final IdErrorCodeThe wrong HTTP method was used.static final IdErrorCodeAn HTTP parameter had an invalid value.static final IdErrorCodeAn HTTP parameter was required but missing.static final IdErrorCodeAn HTTP request exceeded the size limit.static final IdErrorCodeAn internal I/O error.static final IdErrorCodeThe mail system failed.static final IdErrorCodeThe client and server have no supported protocols in common.static final IdErrorCodeThe client is not logged in.static final IdErrorCodeA generic "operation not permitted" error.static final IdErrorCodeA problem occurred with the format of a password (such as an unsupported password algorithm).static final IdErrorCodeThe password and confirmation do not match.static final IdErrorCodeA password reset token does not exist.static final IdErrorCodeA client sent a broken message of some kind.static final IdErrorCodeA rate limit was exceeded.static final IdErrorCodeAn action was denied by the security policy.static final IdErrorCodeAn internal serialization error.static final IdErrorCodeAn internal SQL database error.static final IdErrorCodeA violation of an SQL foreign key integrity constraint.static final IdErrorCodeA violation of an SQL uniqueness constraint.static final IdErrorCodeAn attempt was made to use a query class that is unsupported.static final IdErrorCodeAn internal SQL database error relating to database revisioning.static final IdErrorCodeAn error raised by the Trasco database versioning library.static final IdErrorCodeAn attempt was made to create a user that already exists.static final IdErrorCodeAn attempt was made to create a user that already exists (ID conflict).static final IdErrorCodeAn attempt was made to create a user that already exists (ID name conflict).static final IdErrorCodeAn attempt was made to reference a user that does not exist.static final IdErrorCodeAn attempt was made to perform an operation that requires a user. -
Method Summary
-
Field Details
-
RATE_LIMIT_EXCEEDED
A rate limit was exceeded. -
PROTOCOL_ERROR
A client sent a broken message of some kind. -
BANNED
A user or admin is banned. -
AUTHENTICATION_ERROR
Authenticating a user or admin failed. -
IO_ERROR
An internal I/O error. -
SERIALIZATION_ERROR
An internal serialization error. -
TRASCO_ERROR
An error raised by the Trasco database versioning library. -
SQL_ERROR
An internal SQL database error. -
SQL_REVISION_ERROR
An internal SQL database error relating to database revisioning. -
SQL_ERROR_FOREIGN_KEY
A violation of an SQL foreign key integrity constraint. -
SQL_ERROR_UNIQUE
A violation of an SQL uniqueness constraint. -
SQL_ERROR_UNSUPPORTED_QUERY_CLASS
An attempt was made to use a query class that is unsupported. -
OPERATION_NOT_PERMITTED
A generic "operation not permitted" error. -
SECURITY_POLICY_DENIED
An action was denied by the security policy. -
HTTP_METHOD_ERROR
The wrong HTTP method was used. -
HTTP_PARAMETER_NONEXISTENT
An HTTP parameter was required but missing. -
HTTP_PARAMETER_INVALID
An HTTP parameter had an invalid value. -
HTTP_SIZE_LIMIT
An HTTP request exceeded the size limit. -
HTTP_ERROR
The server returned an error code for an HTTP request. -
USER_DUPLICATE
An attempt was made to create a user that already exists. -
USER_DUPLICATE_ID
An attempt was made to create a user that already exists (ID conflict). -
USER_DUPLICATE_ID_NAME
An attempt was made to create a user that already exists (ID name conflict). -
EMAIL_DUPLICATE
An attempt was made to create a user/admin that already exists (Email conflict). -
USER_NONEXISTENT
An attempt was made to reference a user that does not exist. -
USER_UNSET
An attempt was made to perform an operation that requires a user. -
PASSWORD_ERROR
A problem occurred with the format of a password (such as an unsupported password algorithm). -
ADMIN_DUPLICATE
An attempt was made to create a admin that already exists. -
ADMIN_DUPLICATE_ID
An attempt was made to create a admin that already exists (ID conflict). -
ADMIN_DUPLICATE_ID_NAME
An attempt was made to create a admin that already exists (ID name conflict). -
ADMIN_NONEXISTENT
An attempt was made to reference a admin that does not exist. -
ADMIN_UNSET
An attempt was made to perform an operation that requires an admin. -
ADMIN_OR_USER_UNSET
An attempt was made to perform an operation that requires an admin or user. -
ADMIN_NOT_INITIAL
An attempt was made to create an initial admin in a database, but a admin already existed. -
EMAIL_VERIFICATION_NONEXISTENT
An attempt was made to reference a nonexistent email verification token. -
EMAIL_VERIFICATION_DUPLICATE
An attempt was made to create a email verification token that already exists. -
EMAIL_VERIFICATION_FAILED
An email verification failed for any reason. -
EMAIL_NONEXISTENT
An attempt was made to reference an email that does not exist. -
EMAIL_ONE_REQUIRED
An attempt was made to remove the last email address from a user. -
MAIL_SYSTEM_FAILURE
The mail system failed. -
NO_SUPPORTED_PROTOCOLS
The client and server have no supported protocols in common. -
NOT_LOGGED_IN
The client is not logged in. -
PASSWORD_RESET_NONEXISTENT
A password reset token does not exist. -
PASSWORD_RESET_MISMATCH
The password and confirmation do not match.
-