# Functions
AbortedErr creates an Error with codes.Aborted.
AlreadyExistsErr creates an Error with codes.AlreadyExists.
CanceledErr creates an Error with codes.Canceled.
DataLossErr creates an Error with codes.DataLoss.
DeadlineExceededErr creates an Error with codes.DeadlineExceeded.
FailedPreconditionErr creates an Error with codes.FailedPrecondition.
FromStatus constructs the Error from a gRPC status.
InternalErr creates an Error with codes.Internal.
InvalidArgumentErr creates an Error with codes.InvalidArgument.
IsAbortedErr checks if an Error has codes.Aborted.
IsAlreadyExistsErr checks if an Error has codes.AlreadyExists.
IsCanceledErr checks if an Error has codes.Canceled.
IsDataLossErr checks if an Error has codes.DataLoss.
IsDeadlineExceededErr checks if an Error has codes.DeadlineExceeded.
IsFailedPreconditionErr checks if an Error has codes.FailedPrecondition.
IsInternalErr checks if an Error has codes.Internal.
IsInvalidArgumentErr checks if an Error has codes.InvalidArgument.
IsNotFoundErr checks if an Error has codes.NotFound.
IsOutOfRangeErr checks if an Error has codes.OutOfRange.
IsPermissionDeniedErr checks if an Error has codes.PermissionDenied.
IsResourceExhaustedErr checks if an Error has codes.ResourceExhausted.
IsUnauthenticatedErr checks if an Error has codes.Unauthenticated.
IsUnavailableErr checks if an Error has codes.Unavailable.
IsUnimplementedErr checks if an Error has codes.Unimplemented.
IsUnknownErr checks if an Error has codes.Unknown.
New returns an error representing code and msg.
Newf returns New(code, fmt.Sprintf(format, args...)).
NotFoundErr creates an Error with codes.NotFound.
OutOfRangeErr creates an Error with codes.OutOfRange.
PermissionDeniedErr creates an Error with codes.PermissionDenied.
ResourceExhaustedErr creates an Error with codes.ResourceExhausted.
UnauthenticatedErr creates an Error with codes.Unauthenticated.
UnavailableErr creates an Error with codes.Unavailable.
UnimplementedErr creates an Error with codes.Unimplemented.
UnknownErr creates an Error with codes.Unknown.
Wrap annotates an error with a codes.Code.
Wrapf annotates an error with a codes.Code, and provides a new error message.