Exception: RemoveBg::FileError
- Defined in:
- lib/remove_bg/error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#file_path ⇒ Object
readonly
Returns the value of attribute file_path.
Instance Method Summary collapse
-
#initialize(message, file_path) ⇒ FileError
constructor
A new instance of FileError.
Constructor Details
#initialize(message, file_path) ⇒ FileError
Returns a new instance of FileError.
39 40 41 42 |
# File 'lib/remove_bg/error.rb', line 39 def initialize(, file_path) @file_path = file_path super() end |
Instance Attribute Details
#file_path ⇒ Object (readonly)
Returns the value of attribute file_path.
37 38 39 |
# File 'lib/remove_bg/error.rb', line 37 def file_path @file_path end |