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