generate: Wrong error
This commit is contained in:
		
							parent
							
								
									fe5f2448a1
								
							
						
					
					
						commit
						f49c977052
					
				| @ -221,7 +221,7 @@ func (this *Protocol) unmarshalMessage(out io.Writer, message Message) error { | ||||
| 	fmt.Fprintf(out, "\t}\n") | ||||
| 	if requiredTotal > 0 { | ||||
| 		fmt.Fprintf(out, | ||||
| 			"\tif foundRequired != %d { return hopp.ErrPairMissing }\n", | ||||
| 			"\tif foundRequired != %d { return hopp.ErrTablePairMissing }\n", | ||||
| 			requiredTotal) | ||||
| 	} | ||||
| 	fmt.Fprintf(out, "\treturn nil\n") | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user