-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
57 lines (56 loc) · 2.39 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
module.exports = {
AlreadyActivatedError: 'already activated',
ClientNotExistError: 'client not exist',
CubePointAggregationFailedError: 'failed to aggregate cube point',
CubePointNotExistError: 'cube point not exist',
DuplicateKeyError: 'duplicate key',
FileNotExistError: 'file not exist',
InternalError: 'internal error, contact us',
InvalidAppKeyError: 'invalid appKey',
InvalidAppSecretError: 'invalid appSecret',
InvalidApiKeyError: 'invalid apiKey',
InvalidApiSecretError: 'invalid apiSecret',
InvalidClientKeyError: 'invalid clientKey',
InvalidClientSecretError: 'invalid clientSecret',
InvalidPasswordResetCodeError: 'invalid password reset code',
InvalidTokenError: 'invalid token',
PasswordNotMatchError: 'password not match',
PendingPoiPullRequestExistsError: 'pending poi pull request exists',
Success: 'success',
SystemBusyError: 'system busy, retry later',
TokenExpiredError: 'token is expired',
UserAlreadySignupError: 'failed to signup, user already signup',
UserNotExistError: 'user not exist',
WrongParameterError: 'wrong parameter',
AdminError: 'need admin',
CameraIdHadExist: 'camera id had exist',
CameraOffLine: 'camera off line',
CanNotDeleteSelf: 'cant not delete self',
FailedToImportError: 'failed to import error',
FailedToQueuePoiImportJobError: 'failed to queue poi import job error',
FailedToSaveFileError: 'failed to save file error',
FloorHadExist: 'floor had exist',
FloorNotExist: 'floor not exist',
FloorPlanMarkersNotExist: 'floor plan markers not exist',
NeedOrganizationIdError: 'need organization id',
NoFaceApiFound: 'no face api found',
NoFaceDetectFound: 'no face detect found',
NoPermissionsStoreFoundError: 'no permissions store found',
NoPoiIdFound: 'no poiId found',
NoStaFound: 'no sta found',
NoStoreCamera: 'no store camera',
NoStoreIdFound: 'no storeId found',
NoStoreFoundError: 'no store found',
NoUserTagRemainingAmount: 'no user tag remaining amount',
OrganizationNotFoundError: 'organization not found',
PhysicalIdHadExist: 'physical had exist',
RequireDataFileError: 'require data file error',
RequestError: 'request error',
RequireTokenError: 'require token error',
StaHadExist: 'sta had exist',
SuperAdminError: 'need super admin',
TagGoodIdHadExist: 'tag good had exist',
TagHadExist: 'tag id had exist',
TimeoutError: 'time out error',
YsRequestError: 'ys request error'
};