MailException.fromImap constructor
MailException.fromImap(
- MailClient mailClient,
- ImapException e, [
- StackTrace? s
Creates a new exception from the low level one
Implementation
MailException.fromImap(
MailClient mailClient,
ImapException e, [
StackTrace? s,
]) : this(
mailClient,
'${e.imapClient.logName}: ${e.message}',
stackTrace: s ?? e.stackTrace,
details: e.details,
);