Exception: Moxml::Signature::CanonicalizationError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, algorithm: nil) ⇒ CanonicalizationError

Returns a new instance of CanonicalizationError.



82
83
84
85
# File 'lib/moxml/signature/errors.rb', line 82

def initialize(message, algorithm: nil)
  @algorithm = algorithm
  super(message)
end

Instance Attribute Details

#algorithmObject (readonly)

Returns the value of attribute algorithm.



80
81
82
# File 'lib/moxml/signature/errors.rb', line 80

def algorithm
  @algorithm
end