Jerboa v0.2.0 Jerboa.Format.Lifetime.LengthError exception

Error indicating that LIFETIME attribute’s value has invalid length

TURN RFC requires that LIFETIME attribute’s value must be 4 bytes long so any other length results in this error.

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.