Class: Confium::UnresolvedSignerError
- Inherits:
-
Error
- Object
- Error
- Confium::UnresolvedSignerError
- Defined in:
- lib/confium/errors/unresolved_signer_error.rb
Overview
Raised when a CMS signer_info cannot be resolved to a certificate.
Instance Attribute Summary collapse
-
#signer_index ⇒ Object
readonly
Returns the value of attribute signer_index.
Instance Method Summary collapse
-
#initialize(message = nil, details_hash = nil, **kwargs) ⇒ UnresolvedSignerError
constructor
A new instance of UnresolvedSignerError.
Constructor Details
#initialize(message = nil, details_hash = nil, **kwargs) ⇒ UnresolvedSignerError
Returns a new instance of UnresolvedSignerError.
7 8 9 10 11 |
# File 'lib/confium/errors/unresolved_signer_error.rb', line 7 def initialize( = nil, details_hash = nil, **kwargs) , kwargs = Confium::Errors::Coerce.args(, details_hash, kwargs) @signer_index = kwargs.delete(:signer_index) super(, details: { signer_index: @signer_index, **kwargs }) end |
Instance Attribute Details
#signer_index ⇒ Object (readonly)
Returns the value of attribute signer_index.
5 6 7 |
# File 'lib/confium/errors/unresolved_signer_error.rb', line 5 def signer_index @signer_index end |