Exception: AssetPacker::CLI::ExitEarly

Inherits:
StandardError
  • Object
show all
Defined in:
lib/asset_packer/cli.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, exit_code = 0) ⇒ ExitEarly

Returns a new instance of ExitEarly.



13
14
15
16
# File 'lib/asset_packer/cli.rb', line 13

def initialize(message, exit_code = 0)
  super(message)
  @exit_code = exit_code
end

Instance Attribute Details

#exit_codeObject (readonly)

Returns the value of attribute exit_code.



11
12
13
# File 'lib/asset_packer/cli.rb', line 11

def exit_code
  @exit_code
end