Exception: Binstream::InvalidLengthError

Inherits:
ParseError
  • Object
show all
Defined in:
lib/binstream/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(len) ⇒ InvalidLengthError

Returns a new instance of InvalidLengthError.



11
12
13
# File 'lib/binstream/errors.rb', line 11

def initialize(len)
  super("You must provide a length greater than 0")
end