NotFoundError¶ exception gafaelfawr.exceptions.NotFoundError(message, location=None, field_path=None)¶ Bases: InputValidationError The named resource does not exist. Parameters: message (str) location (ErrorLocation | None, default: None) field_path (list[str] | None, default: None) 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.