public protocol InterceptorProtocol
Use this protocol to create interceptors that can be passed to Configuration instances. Every class which implements this protocol will intercept between request completion and callbacks.
This function is called when a request is failed.
The response data of request.
The TNError provided by TermiNetwork on request failure, otherwise nil value is passed.
The Request object.