Exception: MachO::LoadCommandError
- Inherits:
-
MachOError
- Object
- RuntimeError
- MachOError
- MachO::LoadCommandError
- Defined in:
- lib/macho/exceptions.rb
Overview
Raised when an unknown load command is encountered.
Instance Method Summary collapse
-
#initialize(num) ⇒ LoadCommandError
constructor
A new instance of LoadCommandError.
Constructor Details
#initialize(num) ⇒ LoadCommandError
Returns a new instance of LoadCommandError.
124 125 126 |
# File 'lib/macho/exceptions.rb', line 124 def initialize(num) super "Unrecognized Mach-O load command: 0x%02<num>x" % { :num => num } end |