Exception: Serverkit::Errors::NonExistentPathError
- Defined in:
- lib/serverkit/errors/non_existent_path_error.rb
Instance Method Summary collapse
-
#initialize(path) ⇒ NonExistentPathError
constructor
A new instance of NonExistentPathError.
- #to_s ⇒ String
Constructor Details
#initialize(path) ⇒ NonExistentPathError
Returns a new instance of NonExistentPathError.
9 10 11 |
# File 'lib/serverkit/errors/non_existent_path_error.rb', line 9 def initialize(path) @path = path end |
Instance Method Details
#to_s ⇒ String
14 15 16 |
# File 'lib/serverkit/errors/non_existent_path_error.rb', line 14 def to_s abort "No such file or directory `#{@path}`" end |