mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-21 03:16:36 +08:00
* Spare more Resources for non-verbose Errors At the moment we only remove the __FILE__ in case ETL_VERBOSE_ERRORS is not set. However, we also want to remove the error text which can consume quite some resources and without the file name the line number is also not very useful. * Introduce separate ETL_MINIMAL_ERRORS to keep backwards compatability To not break runtime backwards compatability, instead of removing the text in case of ETL_VERBOSE_ERRORS not defined, we introduce a second flag ETL_MINIMAL_ERRORS which is mutually exclusive. The semantic is as follows: - ETL_VERBOSE_ERRORS: We use verbose text, file names and line numbers. - ETL_MINIMAL_ERRORS: We do not use anything. - ETL_VERBOSE_ERRORS and ETL_MINIMAL_ERRORS: Issue an error. - non defined: We use terse text without file names nor line numbers. --------- Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| etl | ||