fix: Error codes are not shown in the response

This commit is contained in:
Peng-YM
2022-07-08 11:00:20 +08:00
parent 8aed0665e3
commit d7b97f4595
5 changed files with 11 additions and 10 deletions

View File

@@ -1,5 +1,6 @@
class BaseError {
constructor(code, message, details) {
this.code = code;
this.message = message;
this.details = details;
}