Show / Hide Table of Contents

# Class AnybillApiException

A general exception while calling the anybill api.

##### Inheritance

System.Object
System.Exception
AnybillApiException
BadRequestException
ForbiddenException
NotFoundException
UnauthorizedException
UnhandledException

###### Namespace: anybill.POS.Client.Exceptions

###### Assembly: anybill.POS.Client.Abstractions.dll

##### Syntax

    public class AnybillApiException : Exception

### Properties

#### Body

The body that was returned.

##### Declaration

    public string Body { get; }

##### Property Value

Type | Description
--- | ---
System.String |

#### HttpStatusCode

The http status code returned.

##### Declaration

    public int HttpStatusCode { get; }

##### Property Value

Type | Description
--- | ---
System.Int32 |

#### RequestId

The request id if available.

##### Declaration

    public string RequestId { get; }

##### Property Value

Type | Description
--- | ---
System.String |

#### Timestamp

Timestamp of the error.

##### Declaration

    public DateTimeOffset Timestamp { get; }

##### Property Value

Type | Description
--- | ---
System.DateTimeOffset |

#### Uri

Uri that was called.

##### Declaration

    public Uri Uri { get; }

##### Property Value

Type | Description
--- | ---
System.Uri |