Correct error argument in example code

Some of the example code is missing the "e" argument to the catch() callback