Exception: Dropbox::FileError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/dropbox/api.rb

Overview

Superclass of errors relating to Dropbox files.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ FileError

:nodoc:



563
564
565
# File 'lib/dropbox/api.rb', line 563

def initialize(path) # :nodoc:
  @path = path
end

Instance Attribute Details

#pathObject (readonly)

The path of the offending file.



561
562
563
# File 'lib/dropbox/api.rb', line 561

def path
  @path
end

Instance Method Details

#to_sObject

:nodoc:



567
568
569
# File 'lib/dropbox/api.rb', line 567

def to_s # :nodoc:
  "#{self.class.to_s}: #{@path}"
end