In general, DOM methods return specific error values in ordinary processing situations, such as out-of-bound errors. However, DOM operations can raise exceptions in "exceptional" circumstances, i.e., when an operation is impossible to perform (either for logical reasons, because data is lost, or because the implementation has become unstable)
For more information on this interface please see http://www.w3.org/TR/DOM-Level-3-Core/
readonly PRUint32 code
Reference documentation is generated from Mozilla's source.