Menu

## PayoutBatchQueryException extends PayoutBatchException
in package

PayoutBatchQueryException.php : 20

Payout batch query exception.

##### Tags

author

  BitPay Integrations integrations@bitpay.com

license

  http://www.opensource.org/licenses/mit-license.php MIT

### Table of Contents

#### Properties

$apiCode : string|null
$bitPayCode : string
$bitPayMessage : string

#### Methods

__construct() : mixed
  Construct the PayoutBatchQueryException.
getApiCode() : string

### Properties

#### $apiCode

BitPayException.php : 24
`protected string|null $apiCode`

#### $bitPayCode

PayoutBatchQueryException.php : 23
`private string $bitPayCode = "BITPAY-PAYOUT-BATCH-GET"`

#### $bitPayMessage

PayoutBatchQueryException.php : 22
`private string $bitPayMessage = "Failed to retrieve payout batch"`

### Methods

#### __construct()

PayoutBatchQueryException.php : 32

Construct the PayoutBatchQueryException.

`public __construct([string $message = "" ][, int $code = 203 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed`

##### Parameters

$message : string = ""

  [optional] The Exception message to throw.

$code : int = 203

  [optional] The Exception code to throw.

$previous : Exception = null
$apiCode : string|null = "000000"

  [optional] The API Exception code to throw.

#### getApiCode()

BitPayException.php : 46
`public getApiCode() : string`

##### Return values

string —

Error code provided by the BitPay REST API

## Search results