Exception: Certynix::ServerError

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

Overview

HTTP 5xx

Instance Attribute Summary

Attributes inherited from Error

#code, #request_id, #status_code

Instance Method Summary collapse

Constructor Details

#initialize(message:, code:, request_id: nil, status_code: 500) ⇒ ServerError

Returns a new instance of ServerError.



70
71
72
# File 'lib/certynix/errors.rb', line 70

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