Exception: Arcade::QueryError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Arcade::QueryError
- Defined in:
- lib/arcade/errors.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error: "", detail: "", exception: "", **args) ⇒ QueryError
constructor
A new instance of QueryError.
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
#args ⇒ Object (readonly)
Returns the value of attribute args.
25 26 27 |
# File 'lib/arcade/errors.rb', line 25 def args @args end |
#error ⇒ Object (readonly)
Returns the value of attribute error.
25 26 27 |
# File 'lib/arcade/errors.rb', line 25 def error @error end |