| Total Complexity | 6 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class InvalidConfigurationException extends Exception |
||
| 8 | { |
||
| 9 | public static function invalidNetworkName(): self |
||
| 10 | { |
||
| 11 | return new static('Invalid network option provided in config. Should be livenet ot testnet only.'); |
||
| 12 | } |
||
| 13 | |||
| 14 | public static function invalidStorageClass() |
||
| 15 | { |
||
| 16 | return new static('Invalid key storage class provided in config.'); |
||
| 17 | } |
||
| 18 | |||
| 19 | public static function invalidOrEmptyPassword() |
||
| 20 | { |
||
| 21 | return new static('Password missing in config. Password is required to encrypt and decrypt keys on the filesystem.'); |
||
| 22 | } |
||
| 23 | |||
| 24 | public static function invalidOrEmptyPairingCode() |
||
| 27 | } |
||
| 28 | |||
| 29 | public static function invalidOrEmptyPairingCodeLabel() |
||
| 30 | { |
||
| 31 | return new static('Invalid or empty pairing code label.'); |
||
| 32 | } |
||
| 33 | |||
| 34 | public static function emptyToken() |
||
| 37 | } |
||
| 38 | } |
||
| 39 |