Exception: Cask::CaskCyclicDependencyError Private

Inherits:
AbstractCaskErrorWithToken show all
Defined in:
Library/Homebrew/cask/exceptions.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 when there is a cyclic cask dependency.

Direct Known Subclasses

CaskSelfReferencingDependencyError

Instance Attribute Summary

Attributes inherited from AbstractCaskErrorWithToken

#reason, #token

Instance Method Summary collapse

Methods inherited from AbstractCaskErrorWithToken

#initialize

Constructor Details

This class inherits a constructor from Cask::AbstractCaskErrorWithToken

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.


127
128
129
# File 'Library/Homebrew/cask/exceptions.rb', line 127

def to_s
  "Cask '#{token}' includes cyclic dependencies on other Casks#{reason.empty? ? "." : ": #{reason}"}"
end