Exception: Querly::Preprocessor::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/querly/preprocessor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#commandObject (readonly)

Returns the value of attribute command.



4
5
6
# File 'lib/querly/preprocessor.rb', line 4

def command
  @command
end

#statusObject (readonly)

Returns the value of attribute status.



5
6
7
# File 'lib/querly/preprocessor.rb', line 5

def status
  @status
end