The goog.fs.Error Class

goog.fs.Error
> goog.debug.Error
> Error

goog.fs.Error(code, action)

A filesystem error. Since the filesystem API is asynchronous, stack traces are less useful for identifying where errors come from, so this includes a large amount of metadata in the message.

code {number}
The error code for the error.
action {string}
The action being undertaken when the error was raised.

The goog.fs.Error.ErrorCode Enum

Error codes for file errors. … more

.getDebugMessage(errorCode)

errorCode {number}
The error code for the error.
returns {string}
A debug message for the given error code. These messages are for debugging only and are not localized.

.name

Inherited from goog.debug.Error .