# Api Response Handler
ApiResponseHandler is responsible for handling the Response (opens new window) That was returned by the
ApiCaller. It is the implementation of the
HandlesApiResponse interface that is used by default.
On top of the
handle method for the sake of brevity the following methods have been added:
handleSuccess method attempts to parse the
Response and returns its value. If The response is has a key
data then the value of the data will be returned.
handleError method throws an error.
handleFinally method is an empty function for the sake of type suggestion when customising.