Exception: S7n::NotExist

Inherits:
ApplicationError show all
Defined in:
lib/s7n/exception.rb

Overview

ファイルやディレクトリが存在しないことを表現する例外クラス。

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ NotExist

Returns a new instance of NotExist.



31
32
33
# File 'lib/s7n/exception.rb', line 31

def initialize(path)
  @path = path
end

Instance Method Details

#to_sObject



35
36
37
# File 'lib/s7n/exception.rb', line 35

def to_s
  return _("Does not exit: path=<%s>") % @path
end