Exception: Dropbox::FileError

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

Overview

Superclass of errors relating to Dropbox files.

Direct Known Subclasses

FileExistsError, FileNotFoundError, TooManyEntriesError

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (FileError) initialize(path)

:nodoc:



585
586
587
# File 'lib/dropbox/api.rb', line 585

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

Instance Attribute Details

- (Object) path (readonly)

The path of the offending file.



583
584
585
# File 'lib/dropbox/api.rb', line 583

def path
  @path
end

Instance Method Details

- (Object) to_s

:nodoc:



589
590
591
# File 'lib/dropbox/api.rb', line 589

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