Exception: Aikido::Zen::InternalsError

Inherits:
Aikido::ZenError
  • Object
show all
Defined in:
lib/aikido/zen/errors.rb

Overview

Raised when there’s any problem communicating (or loading) libzen.

Instance Method Summary collapse

Constructor Details

#initialize(attempt, problem, libname) ⇒ InternalsError

Returns a new instance of InternalsError.

Parameters:

  • attempt (String)

    description of what we were trying to do.

  • problem (String)

    what couldn’t be done.

  • libname (String)

    the name of the file (including the arch).



83
84
85
86
87
# File 'lib/aikido/zen/errors.rb', line 83

def initialize(attempt, problem, libname)
  super(format(<<~MSG.chomp, attempt, problem, libname))
    Zen could not scan %s due to a problem %s the library `%s'
  MSG
end