@tempots/std
Version:
Std library for TypeScript. Natural complement to the Tempo libraries.
25 lines (24 loc) • 686 B
TypeScript
/**
* Represents an error that is thrown when an operation is aborted.
*/
export declare class AbortError extends Error {
constructor(message?: string);
}
/**
* Represents an error that is thrown when a required implementation is missing.
*/
export declare class MissingImplementationError extends Error {
constructor(message?: string);
}
/**
* Represents an error that occurs during parsing.
*/
export declare class ParsingError extends Error {
constructor(message: string);
}
/**
* Represents an error that occurs when an invalid argument is passed to a function or method.
*/
export declare class ArgumentError extends Error {
constructor(message: string);
}