Exception: MachO::RpathExistsError

Inherits:
RecoverableModificationError show all
Defined in:
lib/macho/exceptions.rb

Overview

Raised when attempting to add an rpath that already exists.

Instance Attribute Summary

Attributes inherited from RecoverableModificationError

#macho_slice

Instance Method Summary collapse

Methods inherited from RecoverableModificationError

#to_s

Constructor Details

#initialize(path) ⇒ RpathExistsError

Returns a new instance of RpathExistsError.

Parameters:

  • path (String)

    the extant path



210
211
212
# File 'lib/macho/exceptions.rb', line 210

def initialize(path)
  super "#{path} already exists"
end