getErrorCode method

Returns the error code associated with the exception.

 Syntax
 Returns