({
hash,
version,
}: {
hash: Hash
version: number
})
| 49 | } |
| 50 | export class InvalidVersionedHashVersionError extends BaseError { |
| 51 | constructor({ |
| 52 | hash, |
| 53 | version, |
| 54 | }: { |
| 55 | hash: Hash |
| 56 | version: number |
| 57 | }) { |
| 58 | super(`Versioned hash "${hash}" version is invalid.`, { |
| 59 | metaMessages: [ |
| 60 | `Expected: ${versionedHashVersionKzg}`, |
| 61 | `Received: ${version}`, |
| 62 | ], |
| 63 | name: 'InvalidVersionedHashVersionError', |
| 64 | }) |
| 65 | } |
| 66 | } |
nothing calls this directly
no outgoing calls
no test coverage detected