You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
|
|
/**
|
|
|
|
* @todo: Error类, to be finished
|
|
|
|
*/
|
|
|
|
|
|
|
|
export default class EduError extends Error{
|
|
|
|
constructor({message=null, code=-1}){
|
|
|
|
super(message);
|
|
|
|
this.code = code;
|
|
|
|
}
|
|
|
|
}
|