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/api/assets/config/errors.js

18 lines
386 B
JavaScript

const errors = {
generalError: {
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: {
message: "Vous devez remplir tous les champs...",
statusCode: 400
}
};
module.exports = errors;