lib/plate/errors.rb in plate-0.6.0 vs lib/plate/errors.rb in plate-0.6.1

- old
+ new

@@ -1,13 +1,17 @@ module Plate + # Raised if a given file by name is not found within the source tree. class FileNotFound < StandardError end + # Raised when a blog post does not contain a date within the meta data or within the file name. class NoPostDateProvided < StandardError end + # Raised if Plate is unable to read a plugin file from the lib directory. class PluginNotReadable < StandardError end + # Raised if the site's source directory was not found. class SourceNotFound < StandardError end end \ No newline at end of file