To describe errors handlers in Frontend
typedef ErrorHandler<T> = FutureOr<T> Function(dynamic error);