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

19 lines
349 B
JavaScript
Raw Permalink Normal View History

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