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
383 B
JavaScript

const errors = {
generalError: {
result: "Vous n'avez pas rentré de valeur valide.",
httpStatus: 400
},
serverError: {
result: "Le serveur n'a pas pu traiter votre requête.",
httpStatus: 500
},
requiredFields: {
result: "Vous devez remplir tous les champs...",
httpStatus: 400
}
};
module.exports = errors;