- Overview
- Platform Support
- The Command-Line Interface
- Platform Guides
- Using Plugman to Manage Plugins
- The config.xml File
- Icons and Splash Screens
- Embedding WebViews
- Plugin Development Guide
- Privacy Guide
- Whitelist Guide
- Accelerometer
- Camera
- Capture
- Compass
- Connection
- Contacts
- Device
- Events
- File
- Geolocation
- Globalization
- InAppBrowser
- Media
- Notification
- Splashscreen
- Storage
This version of the documentation is outdated!
Click here for the latest released version.
FileError
A FileError object is set when an error occurs in any of the File API methods.
Properties
- code: One of the predefined error codes listed below.
Constants
FileError.NOT_FOUND_ERRFileError.SECURITY_ERRFileError.ABORT_ERRFileError.NOT_READABLE_ERRFileError.ENCODING_ERRFileError.NO_MODIFICATION_ALLOWED_ERRFileError.INVALID_STATE_ERRFileError.SYNTAX_ERRFileError.INVALID_MODIFICATION_ERRFileError.QUOTA_EXCEEDED_ERRFileError.TYPE_MISMATCH_ERRFileError.PATH_EXISTS_ERR
Description
The FileError object is the only parameter provided to any of the
File API's error callbacks. To determine the type of error, compare
its code property to any of the listings above.