mirror of
https://github.com/LLM-Red-Team/kimi-free-api.git
synced 2025-04-11 19:07:15 +08:00
14 lines
299 B
TypeScript
14 lines
299 B
TypeScript
import Exception from './Exception.js';
|
|
|
|
export default class APIException extends Exception {
|
|
|
|
/**
|
|
* 构造异常
|
|
*
|
|
* @param {[number, string]} exception 异常
|
|
*/
|
|
constructor(exception: (string | number)[], errmsg?: string) {
|
|
super(exception, errmsg);
|
|
}
|
|
|
|
} |