Exception: Apia::FieldSpecParseError
- Inherits:
-
RuntimeError
- Object
- StandardError
- StandardError
- RuntimeError
- Apia::FieldSpecParseError
- Defined in:
- lib/apia/errors/field_spec_parse_error.rb
Instance Method Summary collapse
Instance Method Details
#hash ⇒ Object
12 13 14 15 16 17 18 19 20 |
# File 'lib/apia/errors/field_spec_parse_error.rb', line 12 def hash { code: 'invalid_field_spec', description: 'The field spec string was invalid', detail: { details: } } end |
#http_status ⇒ Object
8 9 10 |
# File 'lib/apia/errors/field_spec_parse_error.rb', line 8 def http_status 400 end |