DuplicateTokenNameError

exception gafaelfawr.exceptions.DuplicateTokenNameError(message)

Bases: InputValidationError

The user tried to reuse the name of a token.

Parameters:

message (str)

error: ClassVar[str] = 'duplicate_token_name'

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.