toHumanException method

HumanException toHumanException(
  1. String humanMessage
)

Implementation

HumanException toHumanException(String humanMessage) {
  return HumanException.fromError(humanMessage: humanMessage, error: this ?? 'Unknown error');
}