I am facing issue while trying to get error response from API in case of error code 500
API Method -
return this.http.request(method, endPoint, rOptions).