Returns a file error code.
This property is read-only.
errorCode = object.code
Returns a file error code as shown in the Remarks section.
code property returns one of the following file error codes.
|NOT_FOUND_ERR||8||The File or Blob could not be found at the time the read was processed.|
|SECURITY_ERR||18||A file error not covered by the other file error codes occurred, such as:|
|ABORT_ERR||20||The read operation was aborted, typically with a call to abort.|
|NOT_READABLE_ERR||4||The File or Blob cannot be read, typically due to permission problems that occur after a reference to a File or Blob has been acquired (that is, concurrent lock with another application).|
|ENCODING_ERR||5||The length of the data URL for a File or Blob is too long.|
The above error codes have been replaced with the following error strings.
See FileError for a code example using these standards compliant error strings.