UNPKG

@persian-caesar/aparat.js

Version:

The aparat website services for npm package.

15 lines (14 loc) 572 B
import { ErrorCodes } from "../types/enums"; export declare class APIError extends Error { code: ErrorCodes; constructor(code: ErrorCodes, // The specific error code associated with the error. message: string); } /** * @copyright * Code by Sobhan-SRZA (mr.sinre) | https://github.com/Sobhan-SRZA * Developed for Persian Caesar | https://github.com/Persian-Caesar | https://dsc.gg/persian-caesar * * If you encounter any issues or need assistance with this code, * please make sure to credit "Persian Caesar" in your documentation or communications. */