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
2020-08-03 12:04:07 +02:00

19 lines
349 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