Skip to content

Commit

Permalink
Merge pull request #53 from nov/feature/better_exception_class_structure
Browse files Browse the repository at this point in the history
make Xmldsig::Reference::ReferencedNodeNotFound subclass of Xmldsig::…
  • Loading branch information
benoist authored Jun 16, 2022
2 parents 6629ff3 + 775865c commit 8b99d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/xmldsig/reference.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Xmldsig
class Reference
attr_accessor :reference, :errors, :id_attr

class ReferencedNodeNotFound < Exception;
class ReferencedNodeNotFound < Xmldsig::Error
end

def initialize(reference, id_attr = nil, referenced_documents = {})
Expand Down

0 comments on commit 8b99d4b

Please sign in to comment.