Class ErrorHandler (1.5.0)

ErrorHandler(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Custom static error page to be served when an error occurs.

Attributes

NameDescription
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``.

Inheritance

builtins.object > proto.message.Message > ErrorHandler

Classes

ErrorCode

ErrorCode(value)

Error codes.