Exception: Spikard::Errors::UnauthorizedError
- Defined in:
- lib/spikard/errors.rb
Instance Attribute Summary
Attributes inherited from Error
#problem_details_type, #status_code
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ UnauthorizedError
constructor
Raised when the request lacks valid authentication credentials.
Methods inherited from Error
Constructor Details
#initialize(message = nil) ⇒ UnauthorizedError
Raised when the request lacks valid authentication credentials.
40 41 42 |
# File 'lib/spikard/errors.rb', line 40 def initialize( = nil) super(, status_code: 401, problem_details_type: nil) end |