Exception: MachO::LoadCommandNotSerializableError

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

Overview

Raised when a load command can't be serialized.

Instance Method Summary collapse

Constructor Details

#initialize(cmd_sym) ⇒ LoadCommandNotSerializableError

Returns a new instance of LoadCommandNotSerializableError.

Parameters:

  • cmd_sym (Symbol)

    the load command's symbol



152
153
154
# File 'lib/macho/exceptions.rb', line 152

def initialize(cmd_sym)
  super "Load commands of type #{cmd_sym} cannot be serialized"
end