fixed parameter name in example

`exception` -> `thrownError`