# Functions
Code returns the Code of the error if it is a Status error or if it wraps a Status error.
Convert is a convenience function which removes the need to handle the boolean return value from FromError.
Error returns an error representing c and msg.
Errorf returns Error(c, fmt.Sprintf(format, a...)).
ErrorProto returns an error representing s.
FromContextError converts a context error or wrapped context error into a Status.
FromError returns a Status representation of err.
FromProto returns a Status representing s.
New returns a Status representing c and msg.
Newf returns New(c, fmt.Sprintf(format, a...)).
# Type aliases
Status references google.golang.org/grpc/internal/status.