trufflesuite/truffle

View on GitHub
packages/codec-components/src/utils/type-guards/decoder-error/bytes-dynamic-error.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { Format } from "@truffle/codec";
import { decoderErrorTypeGuardHelper } from "./helper";
import { dynamicDataImplementationErrorKinds } from "./dynamic-data-implementation-error";

export const [isBytesDynamicError, bytesDynamicErrorKinds] =
  decoderErrorTypeGuardHelper<Format.Errors.BytesDynamicError>(
    ...dynamicDataImplementationErrorKinds
  );