reformatError method
reformat error
Implementation
Exception reformatError(Exception e, [StackTrace? stack]) {
return Exception(e.toString().substring(10) +
'at ' +
toString() +
(stack != null ? stack.toString() : ''));
}
reformat error
Exception reformatError(Exception e, [StackTrace? stack]) {
return Exception(e.toString().substring(10) +
'at ' +
toString() +
(stack != null ? stack.toString() : ''));
}