This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
FunctionProject/backend/assets/config/errors.js

18 lines
386 B
JavaScript
Raw Normal View History

const errors = {
generalError: {
2020-03-19 22:59:06 +01:00
message: "Vous n'avez pas rentré de valeur valide.",
statusCode: 400
},
serverError: {
message: "Le serveur n'a pas pu traiter votre requête.",
statusCode: 500
},
requiredFields: {
2020-03-19 22:59:06 +01:00
message: "Vous devez remplir tous les champs...",
statusCode: 400
}
};
module.exports = errors;