Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FaultError

An error that is returned to the client. When an operation passes a FaultError to it's callback, the specifics of the error are passed to the client including the code, details, and message. Additionally, the HttpStatusCode is used to set the status on the HTTP response.

Hierarchy

Implements

  • Error

Index

Constructors

Properties

Constructors

constructor

Properties

code

code: string

Application specific machine readable code identifying the fault.

detail

detail: any

Application specific information about the fault that is passed to the client.

message

message: string

A human readable message explaining the reason for the error.

name

name: string

The name of the error.

stack

stack: string

The stack trace.

statusCode

statusCode: HttpStatusCode

The HTTP status code.

Generated using TypeDoc