trufflesuite/truffle

View on GitHub
packages/codec-components/src/utils/type-guards/decoder-error/array-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 [isArrayError, arrayErrorKinds] =
  decoderErrorTypeGuardHelper<Format.Errors.ArrayError>(
    ...dynamicDataImplementationErrorKinds
  );