Sha256: 866c454bebf24339331f2525f19e04e73022f4f11167052f45e86f6e2dd0bbb0
Contents?: true
Size: 630 Bytes
Versions: 8
Compression:
Stored size: 630 Bytes
Contents
module LeapCli class ConfigError < StandardError attr_accessor :node def initialize(node, msg) @node = node super(msg) end def log Util.log(0, :error, "in node `#{@node.name}`: " + self.message) end end class FileMissing < StandardError attr_accessor :path, :options def initialize(path, options={}) @path = path @options = options end def to_s @path end end class AssertionFailed < StandardError attr_accessor :assertion def initialize(assertion) @assertion = assertion end def to_s @assertion end end end
Version data entries
8 entries across 8 versions & 1 rubygems