Sha256: 7b7fdc83139971c6ca176401e268648327d9a6fb74054a8d072e3ec540ed02dd
Contents?: true
Size: 474 Bytes
Versions: 5
Compression:
Stored size: 474 Bytes
Contents
module PDK module CLI class FatalError < StandardError attr_reader :exit_code def initialize(msg = _('An unexpected error has occurred. Try running the command again with --debug'), exit_code = 1) @exit_code = exit_code super(msg) end end class ExitWithError < StandardError attr_reader :exit_code def initialize(msg, exit_code = 1) @exit_code = exit_code super(msg) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
pdk-1.3.1 | lib/pdk/cli/errors.rb |
pdk-1.3.0 | lib/pdk/cli/errors.rb |
pdk-1.2.1 | lib/pdk/cli/errors.rb |
pdk-1.2.0 | lib/pdk/cli/errors.rb |
pdk-1.1.0 | lib/pdk/cli/errors.rb |