Jerboa v0.2.0 Jerboa.Format.BodyLengthError exception
Error indicating STUN message with body shorter than that declared in header
Each STUN message contains the length of its body encoded in the
header. If a message body is shorter than that declared in the
header it cannot be decoded correctly and will produce this error
when passed to Jerboa.Format.decode/1
.
Excepton struct fields:
:length
- actual length of message body
Summary
Functions
Callback implementation for Exception.exception/1
Callback implementation for Exception.message/1
Functions
Callback implementation for Exception.exception/1
.
Callback implementation for Exception.message/1
.