Exception: Scimitar::NotFoundError

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

Returns a new instance of NotFoundError.



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

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