Jerboa v0.2.0 Jerboa.Format.ErrorCode.LengthError exception

Error indicating that ERROR-CODE attribute’s value is too short

ERROR-CODE binary format requires that its value is at least 4 bytes long. 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.