Update 'Error Handling'

Sasha Koshka 2022-10-12 07:21:16 +00:00
parent 8b9f57f757
commit d42c20117c

@ -10,7 +10,7 @@ When writing error messages, present the user with something very plain. Do not
For example, say you wanted to produce an error when a value of one type can't be passed as another type. You could do:
```
type mismatch: cannot pass String:1 (aka {U32 ..}:1) into U64:1
type mismatch: cannot pass U64:1 into String:1 (aka {U32 ..}:1)
```
... Which is messy, and contains useless information, thereby sacrificing clarity. You could try: