Exception: Dry::Files::IOError
- Defined in:
- lib/dry/files/error.rb
Overview
Wraps low level I/O errors
Instance Method Summary collapse
-
#cause ⇒ Object
The original exception.
-
#initialize(cause) ⇒ Dry::Files::IOError
constructor
private
Instantiate a new ‘Dry::Files::IOError`.
Constructor Details
#initialize(cause) ⇒ Dry::Files::IOError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Instantiate a new ‘Dry::Files::IOError`
27 28 29 30 |
# File 'lib/dry/files/error.rb', line 27 def initialize(cause) super(cause.) @_cause = cause end |
Instance Method Details
#cause ⇒ Object
The original exception
38 39 40 |
# File 'lib/dry/files/error.rb', line 38 def cause @_cause end |