1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-30 13:58:08 +00:00
_/serialize-error/main.ts

7 lines
144 B
TypeScript

import { addKnownErrorConstructor } from "npm:serialize-error";
export class E extends Error {
code = "ERR";
}
addKnownErrorConstructor(E);