Sha256: 1878c066f8ff0337111376710e1c1c2a48e05ec566198d88a5531c7b8ce7ac90
Contents?: true
Size: 708 Bytes
Versions: 1
Compression:
Stored size: 708 Bytes
Contents
module Dropcaster class ConfigurationError < StandardError def initialize(msg) super(msg) end end class MissingAttributeError < ConfigurationError def initialize(missingAttribute) super("#{missingAttribute} is a mandatory channel attribute, but it is missing.") end end class AmbiguousSourcesError < ConfigurationError def initialize(ambiguousSources) super("The list of sources is ambiguous. Can't derive common directory from these: #{ambiguousSources.inspect}") end end class TemplateNotFoundError < ConfigurationError def initialize(message) super("Unable to load template file: #{message}") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dropcaster-0.0.4 | lib/dropcaster/errors.rb |