Skip to content

Commit 87a5249

Browse files
authored
Fix error enum formatting (#2968)
* Bring back the top-level enum * Remove redundant anchor
1 parent c45501f commit 87a5249

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/dev_guide/reference_capi/error.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
.. _capi-box_error_code:
88

9+
.. c:enum:: box_error_code
10+
911
For a complete list of errors, refer to the Tarantool
1012
`error code header file <https://github.com/tarantool/tarantool/blob/2.10/src/box/errcode.h>`__
1113
(provided for version 2.10).
@@ -28,7 +30,7 @@
2830
Return IPROTO error code
2931
3032
:param box_error_t* error: error
31-
:return: enum :ref:`box_error_code <capi-box_error_code>`
33+
:return: box_error_code
3234
3335
.. c:function:: const char * box_error_message(const box_error_t *error)
3436

0 commit comments

Comments
 (0)