make Errors extend from Error
Merge pull request #18 from 0xor1/dev

make Errors extend from Error