Exception: MachO::CPUSubtypeError

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

Overview

raised when the CPU subtype is unknown

Instance Method Summary collapse

Constructor Details

#initialize(num) ⇒ CPUSubtypeError

Returns a new instance of CPUSubtypeError.



36
37
38
# File 'lib/macho/exceptions.rb', line 36

def initialize(num)
  super "Unrecognized CPU sub-type: 0x#{"%02x" % num}"
end