Export (0) Print
Expand All

code property

Sets or retrieves a number indicating the type of exception that occurred.

Document Object Model (DOM) Level 2 Core Specification, Section 1.2Internet Explorer 9

Syntax

JavaScript

p = object.code

Property values

Type: Integer

The exception code. See DOM Exception Error Codes.

Standards information

See also

DOMException
EventException
RangeException
message

 

 

Show:
© 2014 Microsoft