Exception: MachO::LoadCommandError

Inherits:
MachOError
  • Object
show all
Defined in:
lib/macho/exceptions.rb

Overview

Raised when an unknown load command is encountered.

Instance Method Summary collapse

Constructor Details

#initialize(num) ⇒ LoadCommandError

Returns a new instance of LoadCommandError.

Parameters:

  • num (Integer)

    the unknown number



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