Jerboa v0.2.0 Jerboa.Format.Username.LengthError exception

Error indicating that USERNAME attribute’s value has invalid length

STUN RFC requires that USERNAME attribute’s value must be a valid UTF-8 encoded sequence of 512 or less bytes.

Exception struct fields:

  • :length - length of attribute’s value found in STUN message (in bytes)

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.