(bytes: ByteArray)
| 33 | } |
| 34 | export class InvalidBytesBooleanError extends BaseError { |
| 35 | constructor(bytes: ByteArray) { |
| 36 | super( |
| 37 | `Bytes value "${bytes}" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`, |
| 38 | { |
| 39 | name: 'InvalidBytesBooleanError', |
| 40 | }, |
| 41 | ) |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | export type InvalidHexBooleanErrorType = InvalidHexBooleanError & { |
nothing calls this directly
no outgoing calls
no test coverage detected