go-tpm-tools icon indicating copy to clipboard operation
go-tpm-tools copied to clipboard

Replace server.GroupedError with some standard multierr package

Open josephlr opened this issue 3 years ago • 0 comments
trafficstars

Potential packages to use:

  • https://pkg.go.dev/go.uber.org/multierr
  • https://pkg.go.dev/github.com/hashicorp/go-multierror

This would make it easier for both us and our users to deal with functions that may return multiple errors.

Examples include:

  • client.Attest
  • server.VerifyAttestation

josephlr avatar Mar 08 '22 20:03 josephlr