We have _INCLERRORLINE and _INCLERRORFILE$, which work well for reporting errors in included files. However, there’s no _ERRORFILE$ to pair with _ERRORLINE. As a result, there’s currently no way to identify the main source file name where the error occurred, leaving developers to either hardcode the file name or use a vague label like “main module,” both of which are less than ideal.
Adding an _ERRORFILE$ function would fix this problem.
We have
_INCLERRORLINEand_INCLERRORFILE$, which work well for reporting errors in included files. However, there’s no_ERRORFILE$to pair with_ERRORLINE. As a result, there’s currently no way to identify the main source file name where the error occurred, leaving developers to either hardcode the file name or use a vague label like “main module,” both of which are less than ideal.Adding an
_ERRORFILE$function would fix this problem.