Menu

## RefundQueryException extends RefundException
in package

RefundQueryException.php : 20

Refund 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 RefundQueryException.
getApiCode() : string

### Properties

#### $apiCode

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

#### $bitPayCode

RefundQueryException.php : 23
`private string $bitPayCode = "BITPAY-REFUND-GET"`

#### $bitPayMessage

RefundQueryException.php : 22
`private string $bitPayMessage = "Failed to retrieve refund"`

### Methods

#### __construct()

RefundQueryException.php : 32

Construct the RefundQueryException.

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

##### Parameters

$message : string = ""

  [optional] The Exception message to throw.

$code : int = 163

  [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