LabExistsError¶
- exception controller.exceptions.LabExistsError(message, location=None, field_path=None)¶
Bases:
ClientRequestError
Lab creation was attempted for a user with an active lab.
- Parameters:
- error: ClassVar[str] = 'lab_exists'¶
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.