Exception: MachO::FiletypeError

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

Overview

raised when a mach-o file’s filetype field is unknown

Instance Method Summary collapse

Constructor Details

#initialize(num) ⇒ FiletypeError

Returns a new instance of FiletypeError.



34
35
36
# File 'lib/macho/exceptions.rb', line 34

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