BitPayApiException
extends BitPayException
in package
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
private
string|null
$bitPayCode
Methods
__construct()
BitPayException constructor.
public
__construct(string|null $message, string|null $bitPayCode) : mixed
Parameters
- $message : string|null
- $bitPayCode : string|null
getBitPayCode()
<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