ErrorBuilder typedef

ErrorBuilder = Map<String, Object> Function(String errorCode, Object error)

Implementation

typedef ErrorBuilder = Map<String, Object> Function(
  String errorCode,
  Object error,
);