lib/filegen/exceptions.rb in filegen-0.3.0 vs lib/filegen/exceptions.rb in filegen-0.3.1
- old
+ new
@@ -11,7 +11,10 @@
# raised if template given on commandline does not exist
class TemplateDoesNotExist < RuntimeError; end
# raised if one uses an invalid template name (missing erb)
class TemplateNameIsInvalid < RuntimeError; end
+
+ # raised if a given erb template has syntax errors in it
+ class ErbTemplateHasSyntaxErrors < Exception; end
end
end