InvalidCSRFError¶ exception gafaelfawr.exceptions.InvalidCSRFError(message)¶ Bases: InputValidationError Invalid or missing CSRF token. Parameters: message (str) error: ClassVar[str] = 'invalid_csrf'¶ Used as the type field of the error message. Should be overridden by any subclass. status_code: ClassVar[int] = 403¶ HTTP status code for this type of validation error.