Metakit / @doeixd/metakit/artifact

ArtifactDecodeError

class · packages/metakit/src/artifactSchema.ts:57

class ArtifactDecodeError extends Schema.TaggedError<ArtifactDecodeError>()(
  'ArtifactDecodeError',
  {
    phase: Schema.Literals(['version', 'schema', 'scope', 'arity', 'type']),
    path: Schema.String,
    detail: Schema.String,
  },
) {}

A wire artifact failed version, schema, scope, arity, or result-type validation.