public sealed class ErrorHandler : IMessage<ErrorHandler>, IEquatable<ErrorHandler>, IDeepCloneable<ErrorHandler>, IBufferMessage, IMessage
Reference documentation and code samples for the App Engine v1 API class ErrorHandler.
Custom static error page to be served when an error occurs.
Implements
IMessageErrorHandler, IEquatableErrorHandler, IDeepCloneableErrorHandler, IBufferMessage, IMessageNamespace
Google.Cloud.AppEngine.V1Assembly
Google.Cloud.AppEngine.V1.dll
Constructors
ErrorHandler()
public ErrorHandler()
ErrorHandler(ErrorHandler)
public ErrorHandler(ErrorHandler other)
Parameter | |
---|---|
Name | Description |
other |
ErrorHandler |
Properties
ErrorCode
public ErrorHandler.Types.ErrorCode ErrorCode { get; set; }
Error condition this handler applies to.
Property Value | |
---|---|
Type | Description |
ErrorHandlerTypesErrorCode |
MimeType
public string MimeType { get; set; }
MIME type of file. Defaults to text/html
.
Property Value | |
---|---|
Type | Description |
string |
StaticFile
public string StaticFile { get; set; }
Static file content to be served for this error.
Property Value | |
---|---|
Type | Description |
string |