Exception: Arcade::QueryError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/arcade/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error: "", detail: "", exception: "", **args) ⇒ QueryError

Returns a new instance of QueryError.



26
27
28
29
30
31
32
# File 'lib/arcade/errors.rb', line 26

def initialize  error: "", detail: "", exception: "", **args
  @error = error
#      @detail = detail
  @args = args
  @exception = exception
  super detail
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



25
26
27
# File 'lib/arcade/errors.rb', line 25

def args
  @args
end

#errorObject (readonly)

Returns the value of attribute error.



25
26
27
# File 'lib/arcade/errors.rb', line 25

def error
  @error
end