BillDeliveryException
extends BillException
in package
Bill delivery exception.
Tags
Table of Contents
Properties
- $apiCode : string|null
- $bitPayCode : string
- $bitPayMessage : string
Methods
- __construct() : mixed
- Construct the BillDeliveryException.
- getApiCode() : string
Properties
$apiCode
protected
string|null
$apiCode
$bitPayCode
private
string
$bitPayCode
= "BITPAY-BILL-DELIVERY"
$bitPayMessage
private
string
$bitPayMessage
= "Failed to deliver bill"
Methods
__construct()
Construct the BillDeliveryException.
public
__construct([string $message = "" ][, int $code = 115 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed
Parameters
- $message : string = ""
-
[optional] The Exception message to throw.
- $code : int = 115
-
[optional] The Exception code to throw.
- $previous : Exception = null
- $apiCode : string|null = "000000"
-
[optional] The API Exception code to throw.
getApiCode()
public
getApiCode() : string
Return values
string —Error code provided by the BitPay REST API