Fix `error` handler typo
Merge pull request #101 from josh/patch-1

Fix `error` handler typo