did a type check on next in default error handelers
made check for next a little smarter
Merge pull request #15 from MauriceButler/saftey-check

Type check for `next` function in default error handelers