You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 lines
327 B

class CaskNotInstalledError < RuntimeError
attr_reader :cask
def initialize cask
@cask = cask
end
def to_s
"#{cask} is not installed"
end
end
class CaskUnavailableError < RuntimeError
attr_reader :name
def initialize name
@name = name
end
def to_s
"No available cask for #{name}"
end
end