pass context to errors

errors are kind of useless without the context