|
-
Aug 1st, 2018, 09:55 AM
#3
Re: Error Handling - call Err.Raise from another module
There will not be any difference if the error handling code is in a separate standard module in the *same* project. You can include this standard .bas module is all your projects as a separate standard module with no problems as well.
But you have to realize that built-in Err class has separate instances *per project*, i.e. setting Err.Number = 123 in Project1.mdErrorHandler will not show up in Err.Number when accessed from Project2.mdErrorHandler, just FYI.
Err.Raise is another beer altogether. . .
cheers,
</wqw>
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|