sails-hook-blocks
Version:
A Sails Micro-app architecture framework
27 lines (19 loc) • 506 B
JavaScript
module.exports.messages = {
INFO: {
},
WARNING: {
},
SUCCESS: {
},
BAD_REQUEST: {
},
ERROR: {
UTIL: {
PARAM_SHOULD_BE_ARRAY_OR_OBJECT: 'Param "typeClass" should be giving class "Object" or "Array".',
JSON_PARSE_ERROR: 'Error.JSON.Parse.Failed',
PARSE_ARRAY_FAILED: 'Error.Param.Decode_And_Parse.To.Array.Failed',
PARSE_OBJECT_FAILED: 'Error.Param.Decode_And_Parse.To.Object.Failed',
USER_NOT_FOUND: 'Forbidden.Auth.User.Not.Found',
},
},
};