Validate settings

This commit is contained in:
Carl Lerche
2017-08-10 23:25:36 -07:00
parent 23b2ef49cc
commit 012646ab46
2 changed files with 24 additions and 3 deletions

View File

@@ -144,6 +144,9 @@ pub enum Error {
/// was not a round multiple of the size of a single setting.
PartialSettingLength,
/// An invalid setting value was provided
InvalidSettingValue,
/// The payload length specified by the frame header was not the
/// value necessary for the specific frame type.
InvalidPayloadLength,