lib/html2rss/attribute_post_processors.rb in html2rss-0.11.0 vs lib/html2rss/attribute_post_processors.rb in html2rss-0.12.0
- old
+ new
@@ -7,9 +7,17 @@
##
# Error raised when an unknown post processor name is requested.
class UnknownPostProcessorName < Html2rss::Error; end
##
+ # Error raised when a required option is missing.
+ class MissingOption < Html2rss::Error; end
+
+ ##
+ # Error raised when an invalid type is provided.
+ class InvalidType < Html2rss::Error; end
+
+ ##
# Maps the post processor name to the class implementing the post processor.
#
# The key is the name to use in the feed config.
NAME_TO_CLASS = {
gsub: Gsub,