Exception: S7n::InvalidPath
- Inherits:
-
ApplicationError
- Object
- StandardError
- ApplicationError
- S7n::InvalidPath
- Defined in:
- lib/s7n/exception.rb
Overview
不正なパスを表現する例外クラス。
Instance Method Summary collapse
-
#initialize(path) ⇒ InvalidPath
constructor
A new instance of InvalidPath.
- #to_s ⇒ Object
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_s ⇒ Object
24 25 26 |
# File 'lib/s7n/exception.rb', line 24 def to_s return _("Invalid path: path=<%s>") % @path end |