Include complete API and frontend sources for unified deployment
This commit is contained in:
1 parent
627b0ae60e
commit
d8fcae32b0
93 files changed
+53270
-3
No files matched your search
@@ -0,0 +1,46 @@
|
||||
export default {
|
||||
NotExist: {
|
||||
errNum: 201,
|
||||
errCode: 'NotExist',
|
||||
message: "Something parameter doesn't exist",
|
||||
},
|
||||
AlreadyExists: {
|
||||
errNum: 202,
|
||||
errCode: 'OrderAlreadyExists',
|
||||
message: 'Something parameter already exists',
|
||||
},
|
||||
Missing: {
|
||||
errNum: 203,
|
||||
errCode: 'Missing',
|
||||
message: 'Something parameter are missing',
|
||||
},
|
||||
Invalid: {
|
||||
errNum: 204,
|
||||
errCode: 'Invalid',
|
||||
message: 'Some parameter is invalid',
|
||||
},
|
||||
Duplicate: {
|
||||
errNum: 205,
|
||||
errCode: 'Duplicate',
|
||||
message: 'Some field is not unique',
|
||||
},
|
||||
|
||||
NoFileUploaded: {
|
||||
errNum: 300,
|
||||
errCode: 'NoFileUploaded',
|
||||
message: 'No file uploaded',
|
||||
key: 'no_file_uploaded',
|
||||
},
|
||||
FileExtensionNotAllowed: {
|
||||
errNum: 301,
|
||||
errCode: 'FileExtensionNotAllowed',
|
||||
message: 'File extension is not allowed',
|
||||
key: 'file_extension_not_allowed',
|
||||
},
|
||||
FileTooLarge: {
|
||||
errNum: 302,
|
||||
errCode: 'FileTooLarge',
|
||||
message: 'File too large',
|
||||
key: 'file_too_large',
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user