The Raise function generates a customized error message.
|
Syntax | ||||
|
Raise(ErrNum [, Source][, Description]) | ||||
|
Return value | ||||
|
None | ||||
|
Parameter | ||||
|
Use |
Name |
Type |
Passing |
Description |
|
Required |
ErrNum |
Long |
ByVal |
Error number of the error to be triggered |
|
Optional |
Source |
String |
ByVal |
Source or factual context of the error |
|
Optional |
Description |
String |
ByVal |
Description of the error |
Note
ErrNum specifies the error number that describes the error. Source determines the source or context in which an error occurred. Description specifies a text description of the error.