App Engine v1 API - Class ErrorHandler (2.3.0)

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.

Inheritance

object > ErrorHandler

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
ErrorHandlerTypesErrorCode

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