class MachO::MagicError

Raised when a file's magic bytes are not valid Mach-O magic.

Public Class Methods

new(num) click to toggle source

@param num [Fixnum] the unknown number

Calls superclass method MachO::NotAMachOError::new
# File lib/macho/exceptions.rb, line 44
def initialize(num)
  super "Unrecognized Mach-O magic: 0x#{"%02x" % num}"
end