Class ErrorHandler (1.0.0)

public sealed class ErrorHandler : IMessage<ErrorHandler>, IEquatable<ErrorHandler>, IDeepCloneable<ErrorHandler>, IBufferMessage, IMessage

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

Inheritance

Object > ErrorHandler

Implements

Google.Protobuf.IMessage<ErrorHandler>, IEquatable<ErrorHandler>, Google.Protobuf.IDeepCloneable<ErrorHandler>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

Namespace

Google.Cloud.AppEngine.V1

Assembly

Google.Cloud.AppEngine.V1.dll

Constructors

ErrorHandler()

public ErrorHandler()

ErrorHandler(ErrorHandler)

public ErrorHandler(ErrorHandler other)
Parameter
NameDescription
otherErrorHandler

Properties

ErrorCode

public ErrorHandler.Types.ErrorCode ErrorCode { get; set; }

Error condition this handler applies to.

Property Value
TypeDescription
ErrorHandler.Types.ErrorCode

MimeType

public string MimeType { get; set; }

MIME type of file. Defaults to text/html.

Property Value
TypeDescription
String

StaticFile

public string StaticFile { get; set; }

Static file content to be served for this error.

Property Value
TypeDescription
String