Exception: S7n::InvalidPath

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

Overview

不正なパスを表現する例外クラス。

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ InvalidPath

Returns a new instance of InvalidPath.



20
21
22
# File 'lib/s7n/exception.rb', line 20

def initialize(path)
  @path = path
end

Instance Method Details

#to_sObject



24
25
26
# File 'lib/s7n/exception.rb', line 24

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