Skip to content

Commit 532a18f

Browse files
authored
__WD_ErrHnd added notification to __WD_Error (#513)
1 parent a9c8647 commit 532a18f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

wd_helper.au3

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3487,9 +3487,9 @@ EndFunc ;==>__WD_Base64Decode
34873487

34883488
; #INTERNAL_USE_ONLY# ===========================================================================================================
34893489
; Name ..........: __WD_ErrHnd
3490-
; Description ...: Dummy error handler
3491-
; Syntax ........: __WD_ErrHnd()
3492-
; Parameters ....: None
3490+
; Description ...: COM Error handler
3491+
; Syntax ........: __WD_ErrHnd($oError)
3492+
; Parameters ....: $oError - Error object.
34933493
; Return values .: None
34943494
; Author ........: mLipok
34953495
; Modified ......:
@@ -3498,8 +3498,8 @@ EndFunc ;==>__WD_Base64Decode
34983498
; Link ..........:
34993499
; Example .......: No
35003500
; ===============================================================================================================================
3501-
Func __WD_ErrHnd()
3502-
3501+
Func __WD_ErrHnd($oError)
3502+
__WD_Error($oError.source, $_WD_ERROR_GeneralError, " err.number: " & $oError.number & " err.windescription: " & $oError.windescription & " err.description is: " & $oError.description, $oError.scriptline)
35033503
EndFunc ;==>__WD_ErrHnd
35043504

35053505
; #INTERNAL_USE_ONLY# ===========================================================================================================

0 commit comments

Comments
 (0)