Exception: Binstream::InvalidLengthError
- Inherits:
-
ParseError
- Object
- StandardError
- ParseError
- Binstream::InvalidLengthError
- Defined in:
- lib/binstream/errors.rb
Instance Method Summary collapse
-
#initialize(len) ⇒ InvalidLengthError
constructor
A new instance of InvalidLengthError.
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 |