Exception: MachO::LoadCommandNotCreatableError

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

Overview

Raised when a load command can't be created manually.

Instance Method Summary collapse

Constructor Details

#initialize(cmd_sym) ⇒ LoadCommandNotCreatableError

Returns a new instance of LoadCommandNotCreatableError.

Parameters:

  • cmd_sym (Symbol)

    the uncreatable load command's symbol



132
133
134
# File 'lib/macho/exceptions.rb', line 132

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