add ctx to error-handling example