Sha256: 115d1122cbdd6aa45cfae2cf381817d9629554daced57e343b34e459087bcb8a
Contents?: true
Size: 724 Bytes
Versions: 5
Compression:
Stored size: 724 Bytes
Contents
module WebResourceBundler::Exceptions class WebResourceBundlerError < Exception def initialize(message = "Unknown error occured") @message = message end def to_s @message end end class ResourceNotFoundError < WebResourceBundlerError def initialize(path) super "Resource #{path} not found" end end class NonExistentCssImage < WebResourceBundlerError def initialize(image_path) super "Css has url to incorrect image path: #{image_path}" end end class LogCreationError < WebResourceBundlerError def initialize(log_path, original_exception) super "Can't create log file, check log path: #{log_path}\n#{original_exception}" end end end
Version data entries
5 entries across 5 versions & 1 rubygems