- NewErrorAggregator: Creates a new error aggregator to collect multiple errors.
- Add: Adds an error to the aggregator.
- Error: Retrieves the aggregated error message.
- HasErrors: Checks if there are any errors in the aggregator.
For examples of each function, please checkout EXAMPLES.md