File.error() (Method)

An accessor function for the error property.

Availability:

JavaScript - 1.1
Netscape Enterprise Server - 2.0
Property/method value type:String primitive
JavaScript syntax:NESmyFile.error()

If an error occurs during an operation on a File object, this property will yield the value of that error. You will need some additional source of reference to make sense of the possible error codes that might be presented by this method, as they will be operating system specific.

See also:File.clearError()