Menu

## BitPayApiException extends BitPayException
in package

BitPayApiException.php : 7

### Table of Contents

#### Properties

$bitPayCode : string|null

#### Methods

__construct() : mixed
  BitPayException constructor.
getBitPayCode() : string|null
  <p>An error code consists of 6 digits. </p> <p>The first two digits of an error code represent the HTTP method that was used to call it.</p> <p>The next two digits refer to the resource that was impacted.</p> <p>The last two digits refer to the specific error.</p> <p>eg. 010103 - Missing parameters for Invoice POST request.</p>

### Properties

#### $bitPayCode

BitPayApiException.php : 9
`private string|null $bitPayCode`

### Methods

#### __construct()

BitPayApiException.php : 17

BitPayException constructor.

`public __construct(string|null $message, string|null $bitPayCode) : mixed`

##### Parameters

$message : string|null
$bitPayCode : string|null

#### getBitPayCode()

BitPayApiException.php : 36

<p>An error code consists of 6 digits. </p> <p>The first two digits of an error code represent the HTTP method that was used to call it.</p> <p>The next two digits refer to the resource that was impacted.</p> <p>The last two digits refer to the specific error.</p> <p>eg. 010103 - Missing parameters for Invoice POST request.</p>

`public getBitPayCode() : string|null`

##### Return values

string|null

## Search results