HttpErrorKeys Class

Summary

Provides keys to look up error information stored in the [System.Web.Http.HttpError](System.Web.Http.HttpError.yml) dictionary.

Syntax

public class HttpErrorKeys

GitHub

View on GitHub

class System.Web.Http.HttpErrorKeys

Fields

ErrorCodeKey()

Provides a key for the ErrorCode.

public static readonly string ErrorCodeKey
ExceptionMessageKey()

Provides a key for the ExceptionMessage.

public static readonly string ExceptionMessageKey
ExceptionTypeKey()

Provides a key for the ExceptionType.

public static readonly string ExceptionTypeKey
InnerExceptionKey()

Provides a key for the InnerException.

public static readonly string InnerExceptionKey
MessageDetailKey()

Provides a key for the MessageDetail.

public static readonly string MessageDetailKey
MessageKey()

Provides a key for the Message.

public static readonly string MessageKey
MessageLanguageKey()

Provides a key for the MessageLanguage.

public static readonly string MessageLanguageKey
ModelStateKey()

Provides a key for the ModelState.

public static readonly string ModelStateKey
StackTraceKey()

Provides a key for the StackTrace.

public static readonly string StackTraceKey