DartBlockException.fromException constructor

DartBlockException.fromException({
  1. required Exception exception,
  2. Statement? statement,
})

Implementation

DartBlockException.fromException({
  required Exception exception,
  this.statement,
}) : isGeneric = true,
     title = "Exception",
     internalMessage = exception.toString(),
     message =
         "An unknown error occurred. This may be due to your program containing an infinite loop or due to a stack overflow in case of a faulty recursive function.";