Exception: Certynix::AuthenticationError

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

Overview

HTTP 401

Instance Attribute Summary

Attributes inherited from Error

#code, #request_id, #status_code

Instance Method Summary collapse

Constructor Details

#initialize(message:, code:, request_id: nil) ⇒ AuthenticationError

Returns a new instance of AuthenticationError.



25
26
27
# File 'lib/certynix/errors.rb', line 25

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