1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-04-06 04:46:26 +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);