Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SupportedGRPCStatus (0.14 sec)

  1. pkg/config/validation/validation.go

    	if status < 200 || status > 600 {
    		return fmt.Errorf("HTTP status %d is not in range 200-599", status)
    	}
    	return nil
    }
    
    func validateGRPCStatus(status string) error {
    	_, found := grpc.SupportedGRPCStatus[status]
    	if !found {
    		return fmt.Errorf("gRPC status %q is not supported. See https://github.com/grpc/grpc/blob/master/doc/statuscodes.md "+
    			"for a list of supported codes, for example 'NOT_FOUND'", status)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
Back to top