Exception: Certynix::ConfigurationError

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

Overview

API key inválida, configuração incorreta

Instance Attribute Summary

Attributes inherited from Error

#code, #request_id, #status_code

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ ConfigurationError

Returns a new instance of ConfigurationError.



18
19
20
# File 'lib/certynix/errors.rb', line 18

def initialize(message)
  super(message: message, code: 'CONFIGURATION_ERROR', status_code: 0)
end