Class: Kotoshu::Cli::Errors::ResourceUnavailable

Inherits:
CliError
  • Object
show all
Defined in:
lib/kotoshu/cli/errors.rb

Overview

Resource unavailable: network down, offline+uncached, integrity failure (exit 3).

Instance Attribute Summary

Attributes inherited from CliError

#exit_status

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ ResourceUnavailable

Returns a new instance of ResourceUnavailable.



30
31
32
# File 'lib/kotoshu/cli/errors.rb', line 30

def initialize(message)
  super(message, exit_status: 3)
end