Exception: DSLCompose::Interpreter::InterpreterError
- Inherits:
-
StandardError
- Object
- StandardError
- DSLCompose::Interpreter::InterpreterError
- Defined in:
- lib/dsl_compose/interpreter/interpreter_error.rb
Direct Known Subclasses
Execution::Arguments::ArrayNotValidError, Execution::Arguments::InvalidArgumentTypeError, Execution::Arguments::MissingRequiredArgumentsError, Execution::Arguments::OptionalArgumentsShouldBeHashError, Execution::Arguments::TooManyArgumentsError, Execution::InvalidDescriptionError, Execution::MethodCalls::MethodCall::InvalidDescriptionError, Execution::MethodIsUniqueError, Execution::RequiredMethodNotCalledError, InvalidDescriptionError
Instance Attribute Summary collapse
-
#original_context ⇒ Object
readonly
Returns the value of attribute original_context.
Instance Method Summary collapse
-
#initialize(message, original_context) ⇒ InterpreterError
constructor
A new instance of InterpreterError.
- #to_s ⇒ Object
Constructor Details
#initialize(message, original_context) ⇒ InterpreterError
Returns a new instance of InterpreterError.
8 9 10 11 |
# File 'lib/dsl_compose/interpreter/interpreter_error.rb', line 8 def initialize(, original_context) super() @original_context = original_context end |
Instance Attribute Details
#original_context ⇒ Object (readonly)
Returns the value of attribute original_context.
6 7 8 |
# File 'lib/dsl_compose/interpreter/interpreter_error.rb', line 6 def original_context @original_context end |
Instance Method Details
#to_s ⇒ Object
13 14 15 |
# File 'lib/dsl_compose/interpreter/interpreter_error.rb', line 13 def to_s "#{super}\ndsl source: #{@original_context}" end |