Error Handling 4
- Returning a value is similar, but to extract the value we need to make a test. Let’s first look at a simple function illustrating the use.
divide_int(4, 0)would give us an
int!result, so how do we decide what we got? We use