Fatal error method `error` does not exist, fixes #20
Merge pull request #25 from bradt/error-handling

Fatal error method `error` does not exist, fixes #20