Exception: MachO::FatBinaryError
- Inherits:
-
MachOError
- Object
- RuntimeError
- MachOError
- MachO::FatBinaryError
- Defined in:
- lib/macho/exceptions.rb
Overview
raised when a file’s magic bytes are those of a fat binary
Instance Method Summary collapse
-
#initialize(num) ⇒ FatBinaryError
constructor
A new instance of FatBinaryError.
Constructor Details
#initialize(num) ⇒ FatBinaryError
Returns a new instance of FatBinaryError.
15 16 17 |
# File 'lib/macho/exceptions.rb', line 15 def initialize(num) super "Unsupported fat binary (magic 0x#{"%02x" % num})" end |