| 1 | <?php |
||
| 7 | class Exceptions extends Exception |
||
| 8 | { |
||
| 9 | private static $_errors = [ |
||
| 10 | 'format.null_mode' => 'The specified mode is null. Please use either live or staging', |
||
| 11 | 'format.invalid_currency_code' => 'The specified currency code is invalid. Please use ISO 4217 notation (e.g. USD).', |
||
| 12 | 'format.unsupported_currency' => 'The specified currency code is not currently supported.', |
||
| 13 | 'format.unsupported_type' => 'The Specified Types Is Currently Not Supported', |
||
| 14 | 'format.is_null' => 'The Access Token can not be null. Please pass it to the constructor', |
||
| 15 | ]; |
||
| 16 | |||
| 17 | public static function create($message) |
||
| 21 | } |
||
| 22 |