Thanks for great library
But I'm facing issue regarding custom error
I tried mock error with AFError from Alamofire like this image
AFError may be AFError.responseValidationFailed(reason: .unacceptableStatusCode(code: 404)) or AFError.responseSerializationFailed(reason: .inputDataNilOrZeroLength) etc..
But I alway received AFError.sessionTaskFailed in closures
Thanks for great library But I'm facing issue regarding custom error I tried mock error with AFError from Alamofire like this image
AFError may be
AFError.responseValidationFailed(reason: .unacceptableStatusCode(code: 404))
orAFError.responseSerializationFailed(reason: .inputDataNilOrZeroLength)
etc.. But I alway receivedAFError.sessionTaskFailed
in closures