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 (Fixnum)

    the unknown number



55
56
57
# File 'lib/macho/exceptions.rb', line 55

def initialize(num)
	super "Unrecognized Mach-O load command: 0x#{"%02x" % num}"
end