MailException.fromPop constructor

MailException.fromPop(
  1. MailClient mailClient,
  2. PopException e, [
  3. StackTrace? s
])

Creates a new exception from the low level one

Implementation

MailException.fromPop(MailClient mailClient, PopException e, [StackTrace? s])
  : this(
      mailClient,
      '${e.popClient.logName}:  ${e.message}',
      stackTrace: s ?? e.stackTrace,
      details: e.response,
    );