MCPcopy Create free account
hub / github.com/CashScript/cashscript / constructor

Method constructor

packages/cashscript/src/Errors.ts:4–6  ·  view source on GitHub ↗
(actual: string, expected: Type)

Source from the content-addressed store, hash-verified

2
3export class TypeError extends Error {
4 constructor(actual: string, expected: Type) {
5 super(`Found type '${actual}' where type '${expected.toString()}' was expected`);
6 }
7}
8
9export class UndefinedInputError extends Error {

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected