Exception: CmisServer::InvalidArgument
Instance Attribute Summary
#debug_data, #trigger
Instance Method Summary
collapse
#http_status, #log, #message, #to_h, #to_xml
Constructor Details
#initialize(message = nil, attrs = {}) ⇒ InvalidArgument
Returns a new instance of InvalidArgument.
186
187
188
189
|
# File 'lib/cmis_server/exceptions.rb', line 186
def initialize(message = nil, attrs = {})
super(attrs)
@message = message
end
|
Instance Method Details
#http_status_code ⇒ Object
199
200
201
|
# File 'lib/cmis_server/exceptions.rb', line 199
def http_status_code
400
end
|
#summary ⇒ Object
195
196
197
|
# File 'lib/cmis_server/exceptions.rb', line 195
def summary
@message || "One or more arguments are invalid."
end
|
#title ⇒ Object
191
192
193
|
# File 'lib/cmis_server/exceptions.rb', line 191
def title
"Invalid Argument"
end
|