Exception: TTYCoke::Errors::ProgramNotFoundError

Inherits:
TTYCokeError
  • Object
show all
Defined in:
lib/ttycoke/errors.rb

Instance Method Summary collapse

Methods inherited from TTYCokeError

status_code

Constructor Details

#initialize(error) ⇒ ProgramNotFoundError

Returns a new instance of ProgramNotFoundError.



26
27
28
29
# File 'lib/ttycoke/errors.rb', line 26

def initialize(error)
  super "Program does not exist." +
    "Parent error class ::#{error.class.name} (#{error.message})."
end