Future<T> handle<T>(Future<T> response) { response.then(_onValue).catchError(_onError); return response; }