Implement ctxt.error convenience function.
Merge pull request #25 from plediii/enhance_ctxt_error

Implement ctxt.error convenience function.