Skip to content

Revisions

  • added ctx.assert

    @uniibu uniibu committed Jan 28, 2019
  • add code and annotation about ctx.on('error', callback), related issue [#1123](https://github.com/koajs/koa/issues/1123)

    @likegun likegun committed Apr 20, 2018
  • Use proper ctx.throw syntax and added some notes on using ctx.throw

    @uniibu uniibu committed Jul 16, 2017
  • Updated Error Handling (markdown)

    @noinkling noinkling committed Mar 29, 2017
  • Updated Error Handling (markdown)

    @noinkling noinkling committed Mar 29, 2017
  • Update for Koa 2

    @noinkling noinkling committed Mar 29, 2017
  • Old example didn't utilize err.status and err.message.

    Kyle Baldwin committed Jul 9, 2015
  • only wackos won't provide an err.message ;D

    @tj tj committed May 3, 2014
  • updates for the latest version of the code

    ryanzec committed May 3, 2014
  • Updated Error Handling (markdown)

    @tj tj committed Dec 25, 2013
  • .onerror() is private (for now) and compress handles "error" from the original stream

    @tj tj committed Oct 15, 2013
  • Updated Error Handling (markdown)

    @jonathanong jonathanong committed Oct 15, 2013
  • Updated Error Handling (markdown)

    @jonathanong jonathanong committed Oct 15, 2013
  • Created Error Handling (markdown)

    @jonathanong jonathanong committed Oct 15, 2013