package
1.17.3
Repository: https://github.com/mongodb/mongo-go-driver.git
Documentation: pkg.go.dev

# Functions

New returns an Error object described by the code, message, and origErr.
NewBatchError returns an BatchedErrors with a collection of errors as an array of errors.
SprintError returns a string of the formatted error code.

# Interfaces

BatchedErrors is a batch of errors which also wraps lower level errors with code, message, and original errors.
An Error wraps lower level errors with code, message and an original error.