Exception: JPie::Errors::UnauthorizedError
- Defined in:
- lib/jpie/errors.rb
Instance Attribute Summary
Attributes inherited from Error
#code, #detail, #source, #status, #title
Instance Method Summary collapse
-
#initialize(detail: 'Unauthorized') ⇒ UnauthorizedError
constructor
A new instance of UnauthorizedError.
Methods inherited from Error
Constructor Details
#initialize(detail: 'Unauthorized') ⇒ UnauthorizedError
47 48 49 |
# File 'lib/jpie/errors.rb', line 47 def initialize(detail: 'Unauthorized') super(status: 401, title: 'Unauthorized', detail:) end |