MailException class
Provides details about high level unexpected events
- Implemented types
Constructors
- MailException(MailClient mailClient, String? message, {StackTrace? stackTrace, dynamic details})
- Creates a new exception
- MailException.fromImap(MailClient mailClient, ImapException e, [StackTrace? s])
- Creates a new exception from the low level one
- MailException.fromPop(MailClient mailClient, PopException e, [StackTrace? s])
- Creates a new exception from the low level one
- MailException.fromSmtp(MailClient mailClient, SmtpException e, [StackTrace? s])
- Creates a new exception from the low level one
Properties
- details → dynamic
-
Any details
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mailClient → MailClient
-
The originating mail client
final
- message → String?
-
The error message
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
The stacktrace
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited