giddy/error

Types

Giddy’s errors

pub type GiddyError {
  BadRecordType(String)
  UnknownCAATag(String)
  Formerr
  Servfail
  Notfound
  Notimp
  Refused
  Badquery
  Badname
  Badfamily
  Badresp
  Connrefused
  Timeout
  Badstr
  Badflags
  Badhints
  Cancelled
}

Constructors

  • BadRecordType(String)

    Record type unknown or not supported on the current target.

  • UnknownCAATag(String)

    Failed to parse a CAA tag

  • Formerr
  • Servfail
  • Notfound
  • Notimp
  • Refused
  • Badquery
  • Badname
  • Badfamily
  • Badresp
  • Connrefused
  • Timeout
  • Badstr
  • Badflags
  • Badhints
  • Cancelled

Values

pub fn error_to_string(error: GiddyError) -> String
✨ Search Document