utils/errutils at main · kashifkhan0771/utils · GitHub
Skip to content

Latest commit

 

History

History

errutils

Folders and files

README.md

Errors (errutils)

  • 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.

Examples:

For examples of each function, please checkout EXAMPLES.md