Exception: Rus3::SchemeSyntaxError

Inherits:
Error
  • Object
show all
Defined in:
lib/rus3/error.rb

Constant Summary

Constants inherited from Error

Error::A2L_MAP

Constants included from EmptyList

EmptyList::EMPTY_LIST

Instance Method Summary collapse

Methods inherited from Error

#smart_error_value

Methods included from EmptyList

#null?

Constructor Details

#initialize(obj) ⇒ SchemeSyntaxError



129
130
131
# File 'lib/rus3/error.rb', line 129

def initialize(obj)
  super(EMSG[:scheme_syntax_error] % "#{obj[1]} as #{obj[0]}")
end