Exception: Scimitar::NotFoundError
- Inherits:
-
ErrorResponse
- Object
- StandardError
- ErrorResponse
- Scimitar::NotFoundError
- Defined in:
- app/models/scimitar/not_found_error.rb
Instance Attribute Summary
Attributes inherited from ErrorResponse
Instance Method Summary collapse
-
#initialize(id) ⇒ NotFoundError
constructor
A new instance of NotFoundError.
Methods inherited from ErrorResponse
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 |