Exception: Liquidscript::UnexpectedError
- Inherits:
-
CompileError
- Object
- StandardError
- Error
- CompileError
- Liquidscript::UnexpectedError
- Defined in:
- lib/liquidscript/errors.rb
Instance Method Summary collapse
-
#initialize(expected, got) ⇒ UnexpectedError
constructor
A new instance of UnexpectedError.
Constructor Details
#initialize(expected, got) ⇒ UnexpectedError
Returns a new instance of UnexpectedError.
24 25 26 27 28 29 |
# File 'lib/liquidscript/errors.rb', line 24 def initialize(expected, got) @expected = expected @got = got super end |