Exception: Cask::CaskQuarantineError Private

Inherits:
CaskError show all
Defined in:
cask/exceptions.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 during quarantining of a file.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, reason) ⇒ void

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.

Parameters:



205
206
207
208
209
210
# File 'cask/exceptions.rb', line 205

def initialize(path, reason)
  super()

  @path = path
  @reason = reason
end

Instance Attribute Details

#pathString, Pathname (readonly)

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:



199
200
201
# File 'cask/exceptions.rb', line 199

def path
  @path
end

#reasonString (readonly)

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:



202
203
204
# File 'cask/exceptions.rb', line 202

def reason
  @reason
end