 
   filterErrors: (error) =>
     {response, config} = error
-    {data} = response if isObject(response)
+    {data} = response if isObjectLike(response)
     return Promise.reject(error) if isEmpty(config)
     if isEmpty(config.handledErrors) or
       not areAllErrorsHandled(config.handledErrors, data?.errors, @_apiHandler.getOptions().errorNameProperty)

some      = require 'lodash/some'
set       = require 'lodash/set'
every     = require 'lodash/every'
isObject  = require 'lodash/isObject'
isError   = require 'lodash/isError'
isEmpty   = require 'lodash/isEmpty'
propertyOf  = require 'lodash/propertyOf'

makeLocalRequest = (requestConfig) ->
  {url} = requestConfig

    Promise.reject(error) if isError(error)

  handleErrorMessage: (error) =>
    {statusText, data} = error.response if isObjectLike(error.response)

    try
      msg = JSON.parse(statusText)
