Exception: Egnyte::EgnyteError
- Inherits:
-
StandardError
- Object
- StandardError
- Egnyte::EgnyteError
- Defined in:
- lib/egnyte/errors.rb
Direct Known Subclasses
BadRequest, FileFolderDuplicateExists, FileFolderNotFound, FileSizeExceedsLimit, InsufficientPermissions, NotAuthorized, RequestError
Instance Method Summary collapse
- #[](key) ⇒ Object
-
#initialize(data) ⇒ EgnyteError
constructor
A new instance of EgnyteError.
Constructor Details
#initialize(data) ⇒ EgnyteError
Returns a new instance of EgnyteError.
3 4 5 |
# File 'lib/egnyte/errors.rb', line 3 def initialize(data) @data = data end |
Instance Method Details
#[](key) ⇒ Object
7 8 9 |
# File 'lib/egnyte/errors.rb', line 7 def [](key) @data[key] end |