Exception: Certynix::ValidationError

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

Overview

HTTP 400

Instance Attribute Summary

Attributes inherited from Error

#code, #request_id, #status_code

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ValidationError.



53
54
55
# File 'lib/certynix/errors.rb', line 53

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