blob: 27993c2087814a89e83980f118d678246d968dd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
module LeapCli
class ConfigError < StandardError
attr_accessor :node
def initialize(node, msg)
@node = node
super(msg)
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
|