strategy.rs |
Strategies a caller may use to collect errors from subfunctions
Currently, the strategies contained in this module are:
- [DontCare]: The caller will ignore any non-fatal errors in subfunction.
[WriteErrorList::push] is effectively a no-op.
- [ErrorOccurred]: Keeps track of a single boolean about whether an error occurred or not.
[WriteErrorList::push] essentially just sets a flag.
- [Sublist]: A full-fledged list of all non-fatal errors in subfunction. Will be mapped to
the caller's error type with a map function and pushed into the caller's error list. |
5182 |