fixed some pr comments

This commit is contained in:
Elias Papanikitas
2024-03-13 11:21:08 +01:00
parent 9c5a6ac4f6
commit 6b559889d7
5 changed files with 280 additions and 264 deletions

18
api-error-handler.js Normal file
View File

@@ -0,0 +1,18 @@
export const API_STATUS_CODES = {
STATUS_200:{
STATUS: "OK",
CODE: 200
},
STATUS_402:{
STATUS: "no data has been found, check if kbo numer is correct or organisation has OVO number. Organisation without OVO number are not in wegwijs",
CODE: 402
},
STATUS_403:{
STATUS: "no kbo number found in OP",
CODE: 403
},
STATUS_500:{
STATUS: '',
CODE: 500
}
}