public sealed class ErrorHandler : IMessage<ErrorHandler>, IEquatable<ErrorHandler>, IDeepCloneable<ErrorHandler>, IBufferMessage, IMessage
Custom static error page to be served when an error occurs.
Implements
Google.Protobuf.IMessage<ErrorHandler>, IEquatable<ErrorHandler>, Google.Protobuf.IDeepCloneable<ErrorHandler>, Google.Protobuf.IBufferMessage, Google.Protobuf.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 |
ErrorHandler.Types.ErrorCode |
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 |