Exception: Querly::Preprocessor::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Querly::Preprocessor::Error
- Defined in:
- lib/querly/preprocessor.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(command:, status:) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(command:, status:) ⇒ Error
Returns a new instance of Error.
7 8 9 10 |
# File 'lib/querly/preprocessor.rb', line 7 def initialize(command:, status:) @command = command @status = status end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
4 5 6 |
# File 'lib/querly/preprocessor.rb', line 4 def command @command end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
5 6 7 |
# File 'lib/querly/preprocessor.rb', line 5 def status @status end |