Fantom

 

const class email::SmtpErr

sys::Obj
  sys::Err
    email::SmtpErr

Source

SmtpErr indicates an error during an SMTP transaction.

code

const Int code

Source

The SMTP error code defined by RFC 2821

make

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

Source

Construct with error code, message, and optional cause.