@tempots/std
Version:
Std library for TypeScript. Natural complement to the Tempo libraries.
27 lines (26 loc) • 534 B
JavaScript
class t extends Error {
constructor(r = "Operation aborted") {
super(r), this.name = "AbortError";
}
}
class o extends Error {
constructor(r = "Missing implementation") {
super(r), this.name = "MissingImplementationError";
}
}
class e extends Error {
constructor(r) {
super(r), this.name = "ParsingError";
}
}
class n extends Error {
constructor(r) {
super(r), this.name = "ArgumentError";
}
}
export {
t as AbortError,
n as ArgumentError,
o as MissingImplementationError,
e as ParsingError
};