RestErrorOptions interface

The options supported by RestError.

Properties

code

The code of the error itself (use statics on RestError if possible.)

request

The request that was made.

response

The response received (if any.)

statusCode

The HTTP status code of the request (if applicable.)

Property Details

code

The code of the error itself (use statics on RestError if possible.)

code?: string

Property Value

string

request

The request that was made.

request?: PipelineRequest

Property Value

response

The response received (if any.)

response?: PipelineResponse

Property Value

statusCode

The HTTP status code of the request (if applicable.)

statusCode?: number

Property Value

number