DuplicateAdminError#

exception gafaelfawr.exceptions.DuplicateAdminError(message)#

Bases: InputValidationError

The user attempted to add an admin who already existed.

Parameters:

message (str)

error: ClassVar[str] = 'duplicate_admin'#

Used as the type field of the error message.

Should be overridden by any subclass.

status_code: ClassVar[int] = 409#

HTTP status code for this type of validation error.