Exception: FFI::NotFoundError

Inherits:
LoadError show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/lib/ffi/library.rb

Overview

Exception raised when a function is not found in libraries

Instance Method Summary collapse

Methods inherited from LoadError

#is_missing?

Methods inherited from Exception

#as_json

Constructor Details

#initialize(function, *libraries) ⇒ NotFoundError

Returns a new instance of NotFoundError.



59
60
61
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/lib/ffi/library.rb', line 59

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