Exception: Bsdkrun::BinaryNotFound

Inherits:
Error
  • Object
show all
Defined in:
lib/bsdkrun/errors.rb

Overview

The bsdkrun binary could not be located on the host.

Instance Method Summary collapse

Constructor Details

#initialize(searched) ⇒ BinaryNotFound

Returns a new instance of BinaryNotFound.

Parameters:

  • searched (Array<String>)

    the paths that were probed, in order.



10
11
12
13
14
15
# File 'lib/bsdkrun/errors.rb', line 10

def initialize(searched)
  super(
    'could not find the "bsdkrun" binary. Set BSDKRUN_BIN, add it to PATH, ' \
    "or set Bsdkrun.binary_path=. Looked in: #{Array(searched).join(', ')}"
  )
end