Class RestApiErrorException
The exception thrown when the PrizmDoc Server REST API responds with an error.
Inherited Members
Namespace: Accusoft.PrizmDocServer.Exceptions
Assembly: PrizmDocServerSDK.dll
Syntax
public class RestApiErrorException : Exception
Properties
ErrorCode
Gets the JSON "errorCode" value of the PrizmDoc Server REST API error response.
Declaration
public string ErrorCode { get; }
Property Value
| Type | Description |
|---|---|
| String |
RawErrorDetails
Gets the JSON "errorDetails" value of the PrizmDoc Server REST API error response.
Declaration
public string RawErrorDetails { get; }
Property Value
| Type | Description |
|---|---|
| String |
ReasonPhrase
Gets the HTTP reason phrase (status message) of the PrizmDoc Server REST API error response.
Declaration
public string ReasonPhrase { get; }
Property Value
| Type | Description |
|---|---|
| String |
StatusCode
Gets the HTTP status code of the PrizmDoc Server REST API error response.
Declaration
public HttpStatusCode StatusCode { get; }
Property Value
| Type | Description |
|---|---|
| HttpStatusCode |