ValidationRpcError
Defined in: packages/iso-filecoin/src/rpc.js:96
Extends
Constructors
Constructor
new ValidationRpcError(cause: ZodError<any>): ValidationRpcError;
Defined in: packages/iso-filecoin/src/rpc.js:106
Parameters
Parameter | Type |
---|---|
cause | ZodError <any > |
Returns
ValidationRpcError
Overrides
Methods
captureStackTrace()
static captureStackTrace(targetObject: object, constructorOpt?: Function): void;
Defined in: node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts:136
Create .stack property on a target object
Parameters
Parameter | Type |
---|---|
targetObject | object |
constructorOpt ? | Function |
Returns
void
Inherited from
is()
static is(value: unknown): value is ValidationRpcError;
Defined in: packages/iso-filecoin/src/rpc.js:117
Check if a value is a ValidationRpcError
Parameters
Parameter | Type |
---|---|
value | unknown |
Returns
value is ValidationRpcError
Overrides
Properties
[symbol]
[symbol]: boolean = true;
Defined in: packages/iso-filecoin/src/rpc.js:43
Inherited from
cause
cause: ZodError<any>;
Defined in: packages/iso-filecoin/src/rpc.js:100
Overrides
message
message: string;
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
name
name: string = 'ValidationRpcError';
Defined in: packages/iso-filecoin/src/rpc.js:97
Overrides
stack?
optional stack: string;
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1078
Inherited from
prepareStackTrace()?
static optional prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any;
Defined in: node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts:143
Optional override for formatting stack traces
Parameters
Parameter | Type |
---|---|
err | Error |
stackTraces | CallSite [] |
Returns
any
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Inherited from
stackTraceLimit
static stackTraceLimit: number;
Defined in: node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts:145