Exception: Verity::AuthError

Inherits:
APIError
  • Object
show all
Defined in:
lib/verity/errors.rb

Instance Attribute Summary

Attributes inherited from APIError

#code, #details, #status_code

Instance Method Summary collapse

Constructor Details

#initialize(message, code: nil, details: nil) ⇒ AuthError

Returns a new instance of AuthError.



16
17
18
# File 'lib/verity/errors.rb', line 16

def initialize(message, code: nil, details: nil)
  super(message, code: code, details: details, status_code: 401)
end