FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index mod_harbour Custom error handling
Posts: 16
Joined: Tue Nov 29, 2022 02:23 PM

Custom error handling

Posted: Wed Mar 08, 2023 11:07 AM

Hello everyone,

I need to write server errors (e.g. alias not valid, variable does not exist, unknown or unregistered symbol, etc.) in a log file for subsequent analyses.

I tried to override ERRORSYS procedure or to define a custom ERRORBLOCK but in both way I was not able to obtain the log file.

Could someone point out what is the correct way to create custom error handling in mod_harbour to achieve a server side logging of that kind of errors?

Thanks in advance.

Continue the discussion