Exception: FFIDB::SymbolNotFound

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

Overview

An error indicating that an FFI symbol was not found.

Direct Known Subclasses

FunctionNotFound

Constant Summary collapse

EXIT_CODE =
Sysexits::EX_NOINPUT

Instance Method Summary collapse

Methods inherited from Error

#exit_code

Constructor Details

#initialize(symbol_kind, symbol_name) ⇒ SymbolNotFound

Returns a new instance of SymbolNotFound.



34
35
36
# File 'lib/ffidb/errors.rb', line 34

def initialize(symbol_kind, symbol_name)
  super("#{symbol_kind.to_s.capitalize} not found: #{symbol_name}")
end