Exception: ScimEngine::ResourceInvalidError

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

Instance Attribute Summary

Attributes inherited from ErrorResponse

#detail, #scimType, #status

Instance Method Summary collapse

Methods inherited from ErrorResponse

#as_json

Constructor Details

#initialize(error_message) ⇒ ResourceInvalidError

Returns a new instance of ResourceInvalidError.


4
5
6
# File 'app/models/scim_engine/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