Extended new error Handling
Extended new error Handling

- Return JSON Response for API calls
- Return View Responses for Frontend Errors

imdanshraaj/screeenly,stefanzweifel/screeenly,imdanshraaj/screeenly,imdanshraaj/screeenly,stefanzweifel/screeenly,stefanzweifel/screeenly