Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions doc/reference/reference_lua/box_error/error_object.rst
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,13 @@ error_object

For the ``box.error.READONLY`` error, returns the current election term (see :ref:`box.info.election.term <box_info_election>`).
This attribute may present if the :ref:`error reason <box_error-reason>` is ``election`` or ``synchro``.

.. _box_error-name:

.. data:: name

**Since:** :doc:`3.1.0 </release/3.1.0>`

Returns the name of the error used at creation.