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.
18 19 20 21 22 23 |
# File 'lib/liquidscript/errors.rb', line 18 def initialize(expected, got) @expected = expected @got = got super end |