jm / src /lib /exceptions /APIException.ts
xt8's picture
Upload 47 files
d2ec5e7 verified
raw
history blame contribute delete
299 Bytes
import Exception from './Exception.js';
export default class APIException extends Exception {
/**
* 构造异常
*
* @param {[number, string]} exception 异常
*/
constructor(exception: (string | number)[], errmsg?: string) {
super(exception, errmsg);
}
}