Jerboa v0.2.0 Jerboa.Format.XORAddress.IPFamilyError exception

Error indicating that the IP address family encoded in the XOR-MAPPED-ADDRESS, XOR-PEER-ADDRESS or XOR-RELAYED-ADDRESS attribute’s value is invalid

Valid address families are 0x01 for IPv4 and 0x02 for IPv6.

Exception struct fields:

  • :number - address family number encoded in the attribute’s value

Summary

Functions

Callback implementation for Exception.exception/1

Callback implementation for Exception.message/1

Functions

exception(msg)
exception(String.t) :: Exception.t
exception(Keyword.t) :: Exception.t

Callback implementation for Exception.exception/1.

message(exception)
message(Exception.t) :: String.t

Callback implementation for Exception.message/1.