Exception: MachO::DylibUnknownError

Inherits:
RecoverableModificationError show all
Defined in:
lib/macho/exceptions.rb

Overview

Raised when attempting to change a dylib name that doesn't exist.

Instance Attribute Summary

Attributes inherited from RecoverableModificationError

#macho_slice

Instance Method Summary collapse

Methods inherited from RecoverableModificationError

#to_s

Constructor Details

#initialize(dylib) ⇒ DylibUnknownError

Returns a new instance of DylibUnknownError.

Parameters:

  • dylib (String)

    the unknown shared library name



187
188
189
# File 'lib/macho/exceptions.rb', line 187

def initialize(dylib)
  super "No such dylib name: #{dylib}"
end