mirror of
https://github.com/kou029w/_.git
synced 2025-01-30 13:58:08 +00:00
7 lines
144 B
TypeScript
7 lines
144 B
TypeScript
import { addKnownErrorConstructor } from "npm:serialize-error";
|
|
|
|
export class E extends Error {
|
|
code = "ERR";
|
|
}
|
|
|
|
addKnownErrorConstructor(E);
|