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

Class MagicStringError

src/MagicStringError.ts:7–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5 * glance, and is kept short and consistent in tone.
6 */
7export default class MagicStringError extends Error {
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