2023-05-06 21:54:49 +01:00
|
|
|
const statusCodes = {
|
2023-06-20 21:47:32 +01:00
|
|
|
400: 'data not found',
|
2023-05-06 21:54:49 +01:00
|
|
|
700: 'no authentication attempt',
|
|
|
|
701: 'invalid credentials',
|
|
|
|
702: 'domain not whitelisted',
|
|
|
|
703: 'registration request not found, maybe expired',
|
|
|
|
800: 'location code not found',
|
|
|
|
801: 'unable to fetch location data',
|
|
|
|
900: 'invalid request format',
|
2023-06-20 21:47:32 +01:00
|
|
|
901: 'email not provided',
|
2023-05-06 21:54:49 +01:00
|
|
|
950: 'upstream server error',
|
2023-06-20 21:47:32 +01:00
|
|
|
951: 'unknown server error'
|
2023-05-06 21:54:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = statusCodes;
|