ipu-ranklist
ipu-ranklist copied to clipboard
Improving Error Handling & Logging
2xx RESPONSE
- Encryption Enabled
-
{ res: encryptedResponse }
-
- Encryption Disabled
-
{ res : actualControllerResponse }
-
<caching the entire object { res: x/Y }
>
ANY OTHER RESPONSE
- No Encryption
- No Caching
- Standard ErrorResponse Object
{code: '', message: '', reason: '', ... }
LOGS
- Logging library
- INFO, WARN & ERROR level logs