Class ErrorHandler (0.2.0)

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

Custom static error page to be served when an error occurs. .. attribute:: error_code

Error condition this handler applies to.

:type: google.cloud.appengine_admin_v1.types.ErrorHandler.ErrorCode

Attributes

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