Exception: Hbc::CaskCyclicDependencyError

Inherits:
AbstractCaskErrorWithToken show all
Defined in:
Library/Homebrew/cask/lib/hbc/exceptions.rb

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 Hbc::AbstractCaskErrorWithToken

Instance Method Details

#to_sObject



94
95
96
# File 'Library/Homebrew/cask/lib/hbc/exceptions.rb', line 94

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