integer|string public \Bitrix\Main\Error::getCode( );
This non-static method returns error code.
No parameters