Exception: BibleQL::QueryError
- Defined in:
- lib/bibleql/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(message = nil, errors: []) ⇒ QueryError
constructor
A new instance of QueryError.
Constructor Details
#initialize(message = nil, errors: []) ⇒ QueryError
Returns a new instance of QueryError.
31 32 33 34 |
# File 'lib/bibleql/errors.rb', line 31 def initialize( = nil, errors: []) @errors = errors super() end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
29 30 31 |
# File 'lib/bibleql/errors.rb', line 29 def errors @errors end |