MCPcopy Create free account
hub / github.com/dialectlabs/react / ParsedErrorData

Interface ParsedErrorData

packages/dialect-react/utils/errors.ts:9–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7type ParsedErrorTypeKeys = keyof typeof ParsedErrorType;
8
9export interface ParsedErrorData {
10 type: typeof ParsedErrorType[ParsedErrorTypeKeys];
11 title: string;
12 message: string;
13 matchers?: Array<string | RegExp>;
14}
15
16// TODO: Implement Error instances?
17const insufficientFunds: ParsedErrorData = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected