Exception: Zaala::API::BadRequestError
- Inherits:
-
StandardError
- Object
- StandardError
- Zaala::API::BadRequestError
- Defined in:
- lib/zaala/api/error.rb
Instance Attribute Summary collapse
-
#fields ⇒ Object
readonly
Returns the value of attribute fields.
Instance Method Summary collapse
-
#initialize(msg, fields = []) ⇒ BadRequestError
constructor
A new instance of BadRequestError.
Constructor Details
#initialize(msg, fields = []) ⇒ BadRequestError
Returns a new instance of BadRequestError.
15 16 17 18 |
# File 'lib/zaala/api/error.rb', line 15 def initialize(msg, fields = []) super(msg) @fields = fields end |
Instance Attribute Details
#fields ⇒ Object (readonly)
Returns the value of attribute fields.
13 14 15 |
# File 'lib/zaala/api/error.rb', line 13 def fields @fields end |