Exception: ScimEngine::NotFoundError

Inherits:
ErrorResponse show all
Defined in:
app/models/scim_engine/not_found_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(id) ⇒ NotFoundError

Returns a new instance of NotFoundError.



5
6
7
# File 'app/models/scim_engine/not_found_error.rb', line 5

def initialize(id)
  super(status: 404, detail: "Resource #{id} not found")
end