MCPcopy Index your code
hub / github.com/uber-go/multierr

github.com/uber-go/multierr @v1.11.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.11.0 ↗ · + Follow
84 symbols 238 edges 10 files 21 documented · 25% 554 cross-repo links

Browse by type

Functions 70 Types & classes 14
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

multierr GoDoc Build Status Coverage Status

multierr allows combining one or more Go errors together.

Features

  • Idiomatic: multierr follows best practices in Go, and keeps your code idiomatic.
    • It keeps the underlying error type hidden, allowing you to deal in error values exclusively.
    • It provides APIs to safely append into an error from a defer statement.
  • Performant: multierr is optimized for performance:
    • It avoids allocations where possible.
    • It utilizes slice resizing semantics to optimize common cases like appending into the same error object from a loop.
  • Interoperable: multierr interoperates with the Go standard library's error APIs seamlessly:
    • The errors.Is and errors.As functions just work.
  • Lightweight: multierr comes with virtually no dependencies.

Installation

go get -u go.uber.org/multierr@latest

Status

Stable: No breaking changes will be made before 2.0.


Released under the MIT License.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 47
Method 23
Struct 7
FuncType 3
Interface 3
TypeAlias 1

Languages

Go100%

Modules by API surface

error_test.go28 symbols
error.go24 symbols
error_ext_test.go9 symbols
example_test.go8 symbols
error_post_go120.go4 symbols
appendinvoke_example_test.go4 symbols
error_pre_go120.go3 symbols
error_post_go120_test.go2 symbols
benchmarks_test.go2 symbols

For agents

$ claude mcp add multierr \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page