Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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:
© 2015 Microsoft