| 1 | <?php |
||
| 7 | class InvalidFactomApiConfig extends Exception |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @return static |
||
| 11 | */ |
||
| 12 | public static function noCurlFound() |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @return static |
||
| 19 | */ |
||
| 20 | public static function noUrlDefined() |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return static |
||
| 27 | */ |
||
| 28 | public static function noCertificateDefined() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return static |
||
| 35 | */ |
||
| 36 | public static function noSecureUrlDefined() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return static |
||
| 43 | */ |
||
| 44 | public static function noCertificateExists() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return static |
||
| 51 | */ |
||
| 52 | public static function noUsernameDefined() |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @return static |
||
| 59 | */ |
||
| 60 | public static function noPasswordDefined() |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @return static |
||
| 67 | */ |
||
| 68 | public static function invalidMethodCalled() |
||
| 72 | |||
| 73 | /** |
||
| 74 | * @return static |
||
| 75 | */ |
||
| 76 | public static function invalidApiResponse(string $error, string $actionName) |
||
| 80 | |||
| 81 | /** |
||
| 82 | * @return static |
||
| 83 | */ |
||
| 84 | public static function emptyApiResponse(string $actionName) |
||
| 88 | } |
||
| 89 |