Exception: Bellboy::BellboyIOError

Inherits:
BellboyError show all
Defined in:
lib/bellboy/errors.rb

Overview

Base for all Read/Write/Create errors

Direct Known Subclasses

DatabagReadError, DatabagWriteError

Instance Method Summary collapse

Constructor Details

#initialize(filepath) ⇒ BellboyIOError

Returns a new instance of BellboyIOError.



27
28
29
# File 'lib/bellboy/errors.rb', line 27

def initialize(filepath)
  @filepath = File.dirname(File.expand_path(filepath)) rescue filepath
end