Exception: Keg::DirectoryNotWritableError Private

Inherits:
LinkError
  • Object
show all
Extended by:
T::Sig
Defined in:
keg.rb

Overview

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

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_sString

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns:



79
80
81
82
83
84
# File 'keg.rb', line 79

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