Jerboa v0.2.0 Jerboa.Format.ErrorCode.FormatError exception

Error indicating invalid format of ERROR-CODE attribute

STUN RFC and its extensions define several error code values which must be known by STUN agent. In addition reason field of ERROR-CODE must be valid UTF-8 encoded string, no longer than 128 characters. This error indicates breaking of any of these constraints.

You may also encounter this error when ERROR-CODE attribute’s binary format isn’t compliant with the one specified in STUN RFC.

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.