Update 'Error Handling'
							parent
							
								
									3406ebd413
								
							
						
					
					
						commit
						a8822ffb1e
					
				| @ -13,13 +13,13 @@ For example, say you wanted to produce an error when a value of one type can't b | ||||
| type mismatch of String:1 (aka {U32 ..}:1), U64:1 | ||||
| ``` | ||||
| 
 | ||||
| ... Which is messy, and overly long for something that isn't conceptually dense at all. You could try: | ||||
| ... Which is messy, and contains useless information, thereby sacrificing clarity. You could try: | ||||
| 
 | ||||
| ``` | ||||
| mismatch String:1 U64:1 | ||||
| type mismatch String:1 U64:1 | ||||
| ``` | ||||
| 
 | ||||
| ... Which is overly terse and does not properly convey its meaning. | ||||
| ... But this does not properly convey its meaning. It sacrifices clarity to achieve a mediocre amount of brevity. | ||||
| 
 | ||||
| This, however, is ideal: | ||||
| 
 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user