handle abstract method

Future<ErrorResult> handle(
  1. Object error, [
  2. StackTrace? stackTrace
])

Handle an exception and return a standardized error result.

Implementation

Future<ErrorResult> handle(
  Object error, [
  StackTrace? stackTrace,
]);