NotFoundError

exception gafaelfawr.exceptions.NotFoundError(message, location=None, field_path=None)

Bases: InputValidationError

The named resource does not exist.

Parameters:
error: ClassVar[str] = 'not_found'

Used as the type field of the error message.

Should be overridden by any subclass.

status_code: ClassVar[int] = 404

HTTP status code for this type of validation error.