Expand description
Diagnostics, error types, and verbosity utilities.
Input: none (foundation module used by other public APIs).
Output: common errors, verbosity/logging abstractions, and validation helpers.
Scenario: import from here when you need unified error handling (crate::diag::CoppError) or
solver verbosity control across modules.
Macros§
- verbosity_
log - Emit a formatted verbosity message through the global diagnostics backend.
Enums§
- Constraint
Error - Error type for constraint storage/query operations.
- Copp
Error - The error type for COPP.
- Path
Error - Error type for path construction and path evaluation APIs.
- Verbosity
- The verbosity level for logging.
The default value isSilent.
Trace>Debug>Summary>Silent. - Verbosity
Output - Output backend used by verbosity logging.
Functions§
- emit_
verbosity_ line - Emit one verbosity message using the configured backend.
- set_
verbosity_ log_ file - Configure a log file as verbosity output backend.
- set_
verbosity_ output - Set output backend for all verbosity messages.
- verbosity_
output - Get current output backend for verbosity messages.