- 
                Notifications
    
You must be signed in to change notification settings  - Fork 8
 
Open
Labels
Description
In NetworkGetter.get
do {
    let url = try URLWithQueryBuilder.build(withUrl: url, query: query)
    makeRequest(url: url, onComplete: onComplete)
} catch where type(of: error) == FrisbeeError.self {
    let error = error as? FrisbeeError ?? .unknown
    return onComplete(.fail(error))
} catch {
    return onComplete(.fail(.other(localizedDescription: error.localizedDescription)))
}Errors are caught and converted to a FrisbeeError
It should allow the propagation of Error instead of wrapping it into a FrisbeeError.other(String) since it could potentially remove some important error properties