pass context to errors

errors are kind of useless without the context
Merge pull request #44 from jonathanong/patch-1

pass context to errors