change Error to TypeError
Merge pull request #35 from fanatid/error

change Error to TypeError