MCPcopy Create free account
hub / github.com/Rich-Harris/magic-string / constructor

Method constructor

src/MagicStringError.ts:10–12  ·  view source on GitHub ↗
(message: string, options?: ErrorOptions)

Source from the content-addressed store, hash-verified

8 override name = 'MagicStringError'
9
10 constructor(message: string, options?: ErrorOptions) {
11 super(`[MagicString] ${message}`, options)
12 }
13}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected