Fix sub-cadence error handler null reference.

The sub-cadence error handler was not passing the `callback` object to
`thrown`. When there was an error handled by a sub-cadence when there
was a subsequet function, the `callback` object was referenced.

Note that full code coverage did not find this bug.

Closes #86.