type

SmtpErr

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

const Int code

The SMTP error code defined by RFC 2821

make

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

Construct with error code, message, and optional cause.