func google.golang.org/grpc/status.Errorf
47 uses
google.golang.org/grpc/status (current package)
status.go#L63: func Errorf(c codes.Code, format string, a ...any) error {
google.golang.org/grpc
balancer_wrapper.go#L364: return nil, status.Errorf(codes.Unavailable, "SubConn state is not Ready")
clientconn.go#L883: err = status.Errorf(codes.Unavailable, "error parsing service config: %v", sc.Err)
clientconn.go#L885: err = status.Errorf(codes.Unavailable, "illegal service config type: %T", sc.Config)
picker_wrapper.go#L166: err = status.Errorf(codes.Internal, "received picker error with illegal status: %v", err)
preloader.go#L46: return status.Errorf(codes.Internal, "grpc: unable to get rpcInfo")
preloader.go#L51: return status.Errorf(codes.Internal, "grpc: rpcInfo.preloaderInfo.codec is nil")
rpc_util.go#L221: return nil, status.Errorf(codes.InvalidArgument, "grpc: compressor %q is not registered", name)
rpc_util.go#L795: return 0, nil, status.Errorf(codes.ResourceExhausted, "grpc: received message larger than max length allowed on current machine (%d vs. %d)", length, maxInt)
rpc_util.go#L798: return 0, nil, status.Errorf(codes.ResourceExhausted, "grpc: received message larger than max (%d vs. %d)", length, maxReceiveMessageSize)
rpc_util.go#L820: return nil, status.Errorf(codes.Internal, "grpc: error while marshaling: %v", err.Error())
rpc_util.go#L824: return nil, status.Errorf(codes.ResourceExhausted, "grpc: message too large (%d bytes)", bufSize)
rpc_util.go#L842: return status.Errorf(codes.Internal, "grpc: error while compressing: %v", err.Error())
rpc_util.go#L1004: return nil, status.Errorf(codes.Internal, "grpc: failed to decompress the received message: %v", err)
rpc_util.go#L1008: return nil, status.Errorf(codes.ResourceExhausted, "grpc: message after decompression larger than max (%d vs. %d)", len(uncompressed), maxReceiveMessageSize)
rpc_util.go#L1017: return nil, status.Errorf(codes.Internal, "grpc: failed to decompress the message: %v", err)
rpc_util.go#L1033: return nil, status.Errorf(codes.Internal, "grpc: failed to read decompressed data: %v", err)
rpc_util.go#L1039: return nil, status.Errorf(codes.ResourceExhausted, "grpc: received message after decompression larger than max %d", maxReceiveMessageSize)
rpc_util.go#L1043: return nil, status.Errorf(codes.Internal, "grpc: no decompressor available for compressed payload")
rpc_util.go#L1064: return status.Errorf(codes.Internal, "grpc: failed to unmarshal the received message: %v", err)
rpc_util.go#L1126: return status.Errorf(c, format, a...)
rpc_util.go#L1185: return status.Errorf(codes.Internal, "no codec registered for content-subtype %s", c.contentSubtype)
server.go#L1215: return status.Errorf(codes.ResourceExhausted, "grpc: trying to send message larger than max (%d vs. %d)", payloadLen, s.opts.maxSendMessageSize)
server.go#L1389: return status.Errorf(codes.Internal, "grpc: failed to set send compressor: %v", err)
server.go#L1417: return status.Errorf(codes.Internal, "grpc: error unmarshalling request: %v", err)
server.go#L1714: return status.Errorf(codes.Internal, "grpc: failed to set send compressor: %v", err)
server.go#L2108: return status.Errorf(codes.Internal, "grpc: failed to fetch the stream from the context %v", ctx)
server.go#L2124: return status.Errorf(codes.Internal, "grpc: failed to fetch the stream from the context %v", ctx)
server.go#L2198: return status.Errorf(codes.Internal, "grpc: failed to fetch the stream from the context %v", ctx)
stream.go#L257: err = status.Errorf(codes.Internal, "config selector returned illegal status: %v", err)
stream.go#L343: return nil, status.Errorf(codes.Internal, "grpc: Compressor is not installed for requested grpc-encoding %q", ct)
stream.go#L951: return status.Errorf(codes.Internal, "SendMsg called after CloseSend")
stream.go#L976: return status.Errorf(codes.ResourceExhausted, "trying to send message larger than max (%d vs. %d)", payloadLen, *cs.callInfo.maxSendMessageSize)
stream.go#L1165: return status.Errorf(codes.Internal, "grpc: peer compressed the response with %q which is not allowed by AcceptCompressors", ct)
stream.go#L1331: return nil, status.Errorf(codes.Internal, "grpc: Compressor is not installed for requested grpc-encoding %q", ct)
stream.go#L1458: return status.Errorf(codes.Internal, "SendMsg called after CloseSend")
stream.go#L1481: return status.Errorf(codes.ResourceExhausted, "trying to send message larger than max (%d vs. %d)", payload.Len(), *as.callInfo.maxSendMessageSize)
stream.go#L1516: return status.Errorf(codes.Internal, "grpc: peer compressed the response with %q which is not allowed by AcceptCompressors", ct)
stream.go#L1764: return status.Errorf(codes.ResourceExhausted, "trying to send message larger than max (%d vs. %d)", payloadLen, ss.maxSendMessageSize)
google.golang.org/grpc/internal/transport
http2_client.go#L685: err = status.Errorf(codes.Internal, "transport: received per-RPC creds error with illegal status: %v", err)
http2_client.go#L690: return nil, status.Errorf(codes.Unauthenticated, "transport: per-RPC creds failed due to error: %v", err)
http2_client.go#L718: err = status.Errorf(codes.Internal, "transport: received per-RPC creds error with illegal status: %v", err)
http2_client.go#L722: return nil, status.Errorf(codes.Internal, "transport: per-RPC creds failed due to error: %v", err)
http2_client.go#L780: return nil, &NewStreamError{Err: status.Errorf(codes.Unavailable, "credentials type %q does not implement the AuthorityValidator interface, but authority override specified with CallAuthority call option", t.authInfo.AuthType())}
http2_client.go#L783: return nil, &NewStreamError{Err: status.Errorf(codes.Unavailable, "failed to validate authority %q : %v", callHdr.Authority, err)}
http2_client.go#L885: hdrListSizeErr = status.Errorf(codes.Internal, "header list size to send violates the maximum size (%d bytes) set by server", *t.maxSendHeaderListSize)
transport.go#L775: return status.Errorf(codes.Internal, "Unexpected error from context packet: %v", err)