File size: 299 Bytes
813eca2
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import Exception from './Exception.js';

export default class APIException extends Exception {

    /**
     * 构造异常
     * 
     * @param {[number, string]} exception 异常
     */
    constructor(exception: (string | number)[], errmsg?: string) {
        super(exception, errmsg);
    }

}