generateError function

String generateError(
  1. Exception e,
  2. String? error
)

Implementation

String generateError(Exception e, String? error) {
  return '\n✗ ERROR: ${(e).runtimeType.toString()} \n$error';
}