Sha256: d1e2f4caaedcbc4acde96b681f0333db7454d8992f20eb634bd0236258547d11
Contents?: true
Size: 521 Bytes
Versions: 2
Compression:
Stored size: 521 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 end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
web_resource_bundler-0.0.14 | lib/web_resource_bundler/exceptions.rb |
web_resource_bundler-0.0.13 | lib/web_resource_bundler/exceptions.rb |