Exception: InfluxDB2::FluxQueryError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/influxdb2/client/flux_csv_parser.rb

Overview

This class represents Flux query error

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, reference) ⇒ FluxQueryError

Returns a new instance of FluxQueryError.



28
29
30
31
# File 'lib/influxdb2/client/flux_csv_parser.rb', line 28

def initialize(message, reference)
  super(message)
  @reference = reference
end

Instance Attribute Details

#referenceObject (readonly)

Returns the value of attribute reference.



33
34
35
# File 'lib/influxdb2/client/flux_csv_parser.rb', line 33

def reference
  @reference
end