Exception: JPie::Errors::UnauthorizedError

Inherits:
Error
  • Object
show all
Defined in:
lib/jpie/errors.rb

Instance Attribute Summary

Attributes inherited from Error

#code, #detail, #source, #status, #title

Instance Method Summary collapse

Methods inherited from Error

#to_hash

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