ankushgarg1998 / ipu-ranklist

:chart_with_upwards_trend: A Ranklist application for all IP University students (includes all colleges, all branches, all years after 2014 and all semesters for courses B.Tech., BCA and BBA).

Home Page:https://ipuranklist.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improving Error Handling & Logging

ankushgarg1998 opened this issue · comments

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