Exception: FFI::NotFoundError
- Inherits:
-
LoadError
- Object
- LoadError
- FFI::NotFoundError
- Defined in:
- lib/ffi/library.rb
Overview
Exception raised when a function is not found in libraries
Instance Method Summary collapse
-
#initialize(function, *libraries) ⇒ NotFoundError
constructor
A new instance of NotFoundError.
Constructor Details
#initialize(function, *libraries) ⇒ NotFoundError
Returns a new instance of NotFoundError.
53 54 55 |
# File 'lib/ffi/library.rb', line 53 def initialize(function, *libraries) super("Function '#{function}' not found in [#{libraries[0].nil? ? 'current process' : libraries.join(", ")}]") end |