@nekolab/hanime
Version:
Fast and efficient hanime.tv API wrapper written in TypeScript.
20 lines • 421 B
TypeScript
/**
* APIError class
*/
export declare class APIError {
/**
* Error message
*/
message: string | null;
/**
* Response status code
*/
status: number;
/**
* Create a new instance of the APIError
* @param message Error message
* @param status Response status code
*/
constructor(message: string | null, status: number);
}
//# sourceMappingURL=errors.d.ts.map