Exception: MachO::FiletypeError
- Inherits:
-
MachOError
- Object
- RuntimeError
- MachOError
- MachO::FiletypeError
- Defined in:
- lib/macho/exceptions.rb
Overview
Raised when a mach-o file's filetype field is unknown.
Instance Method Summary collapse
-
#initialize(num) ⇒ FiletypeError
constructor
A new instance of FiletypeError.
Constructor Details
#initialize(num) ⇒ FiletypeError
Returns a new instance of FiletypeError.
47 48 49 |
# File 'lib/macho/exceptions.rb', line 47 def initialize(num) super "Unrecognized Mach-O filetype code: 0x#{"%02x" % num}" end |