Exception: Hbc::CaskX11DependencyError

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

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



82
83
84
85
86
87
88
89
90
# File 'Library/Homebrew/cask/lib/hbc/exceptions.rb', line 82

def to_s
  <<~EOS
    Cask '#{token}' requires XQuartz/X11, which can be installed using Homebrew-Cask by running
      #{Formatter.identifier("brew cask install xquartz")}

    or manually, by downloading the package from
      #{Formatter.url("https://www.xquartz.org/")}
  EOS
end