-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7266290
commit a6964f4
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
module.exports = { | ||
'-1' : 'system busy, retry later', | ||
0 : 'success', | ||
1 : 'internal error, contact us', | ||
10007: 'invalid token', | ||
10008: 'token is expired', | ||
10010: 'require token', | ||
11001: 'require username', | ||
11002: 'require password', | ||
11003: 'user not exist', | ||
11004: 'password not match', | ||
11005: 'failed to generate token, contact us', | ||
11006: 'failed to create user', | ||
11007: 'failed to hash password', | ||
11008: 'failed to save user, please check if required field is correct' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "mlop-errors", | ||
"version": "1.0.0", | ||
"description": "micro-location open platform errors", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/cloudnapps/mlop-errors.git" | ||
}, | ||
"author": "GongXian Cao", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/cloudnapps/mlop-errors/issues" | ||
}, | ||
"homepage": "https://github.com/cloudnapps/mlop-errors#readme" | ||
} |
a6964f4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个是public repo?? @gongxiancao