kodikwrapper
Version:
A kodikapi.com wrapper for Node.JS
22 lines (20 loc) • 545 B
TypeScript
interface VideoLinksErrorOptions {
code: string;
description: string;
data?: unknown;
cause?: unknown;
}
declare class VideoLinksError extends Error {
/** Error code */
code: string;
/** Error stack */
stack: string;
/** Error data */
data?: unknown;
/** Error cause */
cause?: unknown;
constructor({ code, description, data, cause }: VideoLinksErrorOptions);
get [Symbol.toStringTag](): string;
toJSON(): Pick<this, keyof this>;
}
export { VideoLinksError, VideoLinksErrorOptions };