Exception: Liquidscript::UnexpectedError

Inherits:
CompileError show all
Defined in:
lib/liquidscript/errors.rb

Instance Method Summary collapse

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 build_error_message
end