Exception: FFI::NotFoundError

Inherits:
LoadError
  • Object
show all
Defined in:
lib/ffi/library.rb

Overview

Exception raised when a function is not found in libraries

Instance Method Summary collapse

Constructor Details

#initialize(function, *libraries) ⇒ NotFoundError



60
61
62
# File 'lib/ffi/library.rb', line 60

def initialize(function, *libraries)
  super("Function '#{function}' not found in [#{libraries[0].nil? ? 'current process' : libraries.join(", ")}]")
end