(hex: Hex)
| 47 | } |
| 48 | export class InvalidHexBooleanError extends BaseError { |
| 49 | constructor(hex: Hex) { |
| 50 | super( |
| 51 | `Hex value "${hex}" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).`, |
| 52 | { name: 'InvalidHexBooleanError' }, |
| 53 | ) |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | export type InvalidHexValueErrorType = InvalidHexValueError & { |
nothing calls this directly
no outgoing calls
no test coverage detected