Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class ErrorHandler.
Custom static error page to be served when an error occurs.
Generated from protobuf message google.appengine.v1.ErrorHandler
Namespace
Google \ Cloud \ AppEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ error_code
int
Error condition this handler applies to.
↳ static_file
string
Static file content to be served for this error.
↳ mime_type
string
MIME type of file. Defaults to text/html
.
getErrorCode
Error condition this handler applies to.
int
setErrorCode
Error condition this handler applies to.
var
int
$this
getStaticFile
Static file content to be served for this error.
string
setStaticFile
Static file content to be served for this error.
var
string
$this
getMimeType
MIME type of file. Defaults to text/html
.
string
setMimeType
MIME type of file. Defaults to text/html
.
var
string
$this