Exception: Keg::DirectoryNotWritableError Private

Inherits:
LinkError
  • Object
show all
Defined in:
Library/Homebrew/keg.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Error for when a directory is not writable.

Instance Attribute Summary

Attributes inherited from LinkError

#dst, #keg, #src

Instance Method Summary collapse

Methods inherited from LinkError

#initialize

Constructor Details

This class inherits a constructor from Keg::LinkError

Instance Method Details

#to_sObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


69
70
71
72
73
74
# File 'Library/Homebrew/keg.rb', line 69

def to_s
  <<~EOS
    Could not symlink #{src}
    #{dst.dirname} is not writable.
  EOS
end