Flutter Future Return Erro

// Catch it with catchError()
return Future.error("This is the error", StackTrace.fromString("This is its trace"));
Modern Manx