Exception: MachO::NotAMachOError

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

Overview

Raised when a file is not a Mach-O.

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ NotAMachOError

Returns a new instance of NotAMachOError.

Parameters:

  • error (String)

    the error in question



29
30
31
# File 'lib/macho/exceptions.rb', line 29

def initialize(error)
  super error
end