lib/xmlenc.rb in xmlenc-0.4.1 vs lib/xmlenc.rb in xmlenc-0.5.0

- old
+ new

@@ -9,14 +9,13 @@ NAMESPACES = { :xenc => 'http://www.w3.org/2001/04/xmlenc#', :ds => 'http://www.w3.org/2000/09/xmldsig#' } - class UnsupportedError < StandardError - end - - class UnparseableMessage < StandardError - end + class Error < StandardError; end + class UnsupportedError < Error; end + class UnparseableMessage < Error; end + class EncryptedDataNotFound < Error; end module Builder autoload :Base, 'xmlenc/builder/base' autoload :EncryptedData, 'xmlenc/builder/encrypted_data' autoload :EncryptionMethod, 'xmlenc/builder/encryption_method'