ErrorHandler(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Custom static error page to be served when an error occurs.
Attributes
Name | Description |
error_code |
google.cloud.appengine_admin_v1.types.ErrorHandler.ErrorCode
Error condition this handler applies to. |
static_file |
str
Static file content to be served for this error. |
mime_type |
str
MIME type of file. Defaults to text/html .
|
Classes
ErrorCode
ErrorCode(value)
Error codes.
Values: ERROR_CODE_UNSPECIFIED (0): Not specified. ERROR_CODE_DEFAULT is assumed. ERROR_CODE_DEFAULT (0): All other error types. ERROR_CODE_OVER_QUOTA (1): Application has exceeded a resource quota. ERROR_CODE_DOS_API_DENIAL (2): Client blocked by the application's Denial of Service protection configuration. ERROR_CODE_TIMEOUT (3): Deadline reached before the application responds.