type

SmtpErr

src const class SmtpErr : Err

SmtpErr indicates an error during an SMTP transaction.

constructors

make

Construct with error code, message, and optional cause.

fields

code

The SMTP error code defined by RFC 2821

Slot Details

code

src const Int code

The SMTP error code defined by RFC 2821

make

src new make(Int code, Str? msg, Err? cause := null)

Construct with error code, message, and optional cause.