network-response (npm): handle success and error of response
Keywords: response