replace deprecated ctx.error() with ctx.throw()
Merge pull request #3 from queckezz/replace/ctx.error-with-ctx.throw

replace deprecated ctx.error() with ctx.throw()