Exception: Scimitar::ResourceInvalidError

Inherits:
ErrorResponse
  • Object
show all
Defined in:
app/models/scimitar/resource_invalid_error.rb

Instance Attribute Summary

Attributes inherited from ErrorResponse

#detail, #scimType, #status

Instance Method Summary collapse

Methods inherited from ErrorResponse

#as_json, #message

Constructor Details

#initialize(error_message) ⇒ ResourceInvalidError

Returns a new instance of ResourceInvalidError.



4
5
6
# File 'app/models/scimitar/resource_invalid_error.rb', line 4

def initialize(error_message)
  super(status: 400, scimType: 'invalidValue', detail: "Operation failed since record has become invalid: #{error_message}")
end