![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Error/warning description table and formatting — legacy-compatible. More...
Namespaces | |
| namespace | openswmm |
Functions | |
| std::string_view | openswmm::error_get_template (int code) noexcept |
| Get the description template for an error code. | |
| std::string_view | openswmm::warning_get_template (int code) noexcept |
| Get the description template for a warning code. | |
| std::string | openswmm::format_error (int code, std::string_view name="") |
| Format an error message with object name substitution. | |
| std::string | openswmm::format_error (int code, std::string_view name, std::string_view detail) |
| Format an error message with object name and additional detail. | |
| std::string | openswmm::format_warning (int code, std::string_view name="") |
| Format a warning message with object name substitution. | |
| std::string | openswmm::format_warning (int code, std::string_view name, std::string_view detail) |
| Format a warning with additional detail. | |
| std::string_view | openswmm::cffi_error_get_template (int code) noexcept |
| Get the description for a CFFI error code (SWMM_ErrorCode). | |
| std::string_view | openswmm::cffi_warning_get_template (int code) noexcept |
| Get the description for a CFFI warning code (SWMM_WarnCode). | |
| std::string | openswmm::format_cffi_error (int code, std::string_view name="") |
| Format a CFFI error message. | |
| std::string | openswmm::format_cffi_warning (int code, std::string_view name="") |
| Format a CFFI warning message. | |
Error/warning description table and formatting — legacy-compatible.
Description strings are taken verbatim from the legacy SWMM error.txt and text.h, preserving the s placeholder convention. New 6.0 codes (600+) follow the same pattern.