mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-18 06:06:50 -06:00
Hbc is the namespace, Hbc::Cask is the object representing a Cask One step on the path to reducing the surface area of the God-object we've grown over the years. :)
12 lines
358 B
Ruby
12 lines
358 B
Ruby
module Hbc; end
|
|
|
|
# raised by safe_system in utils.rb
|
|
class Hbc::ErrorDuringExecution < RuntimeError
|
|
def initialize(cmd, args=[])
|
|
args = args.map { |a| a.to_s.gsub " ", "\\ " }.join(" ")
|
|
super "Failure while executing: #{cmd} #{args}"
|
|
end
|
|
end
|
|
|
|
# raised in Hbc::HbCurlDownloadStrategy.fetch
|
|
class Hbc::CurlDownloadStrategyError < RuntimeError; end
|