Skip to content

Commit

Permalink
Merge pull request #500 from vatlab/master
Browse files Browse the repository at this point in the history
Document the handling of error in do_execute
  • Loading branch information
minrk authored Feb 4, 2020
2 parents 650fd75 + dfeefb3 commit c1b85ea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/wrapperkernels.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ following methods and attributes:

Your method should return a dict containing the fields described in
:ref:`execution_results`. To display output, it can send messages
using :meth:`~ipykernel.kernelbase.Kernel.send_response`.
using :meth:`~ipykernel.kernelbase.Kernel.send_response`. If an error
occurs during execution, an message of type `error` should be sent
through :meth:`~ipykernel.kernelbase.Kernel.send_response`
in addition to an :ref:`execution_results` with an `status` of `error`.
See :doc:`messaging` for details of the different message types.

.. automethod:: ipykernel.kernelbase.Kernel.send_response
Expand Down

0 comments on commit c1b85ea

Please sign in to comment.