Class: ServiceStack::ResponseError
- Inherits:
-
Object
- Object
- ServiceStack::ResponseError
- Includes:
- DTO
- Defined in:
- lib/servicestack/types.rb
Overview
A field validation error within a ResponseStatus.
Instance Attribute Summary collapse
-
#error_code ⇒ Object
Returns the value of attribute error_code.
-
#field_name ⇒ Object
Returns the value of attribute field_name.
-
#message ⇒ Object
Returns the value of attribute message.
-
#meta ⇒ Object
Returns the value of attribute meta.
Class Method Summary collapse
Methods included from DTO
#==, included, #initialize, #inspect, #to_hash, #to_json
Instance Attribute Details
#error_code ⇒ Object
Returns the value of attribute error_code.
9 10 11 |
# File 'lib/servicestack/types.rb', line 9 def error_code @error_code end |
#field_name ⇒ Object
Returns the value of attribute field_name.
9 10 11 |
# File 'lib/servicestack/types.rb', line 9 def field_name @field_name end |
#message ⇒ Object
Returns the value of attribute message.
9 10 11 |
# File 'lib/servicestack/types.rb', line 9 def @message end |
#meta ⇒ Object
Returns the value of attribute meta.
9 10 11 |
# File 'lib/servicestack/types.rb', line 9 def @meta end |
Class Method Details
.properties ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/servicestack/types.rb', line 11 def self.properties { error_code: { name: 'errorCode' }, field_name: { name: 'fieldName' }, message: { name: 'message' }, meta: { name: 'meta' }, } end |