Exception: Dropbox::FileError
- Defined in:
- lib/dropbox/api.rb
Overview
Superclass of errors relating to Dropbox files.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
The path of the offending file.
Instance Method Summary collapse
-
#initialize(path) ⇒ FileError
constructor
:nodoc:.
-
#to_s ⇒ Object
:nodoc:.
Constructor Details
#initialize(path) ⇒ FileError
:nodoc:
540 541 542 |
# File 'lib/dropbox/api.rb', line 540 def initialize(path) # :nodoc: @path = path end |
Instance Attribute Details
#path ⇒ Object (readonly)
The path of the offending file.
538 539 540 |
# File 'lib/dropbox/api.rb', line 538 def path @path end |
Instance Method Details
#to_s ⇒ Object
:nodoc:
544 545 546 |
# File 'lib/dropbox/api.rb', line 544 def to_s # :nodoc: "#{self.class.to_s}: #{@path}" end |