Skip to content

Commit

Permalink
include: add EOVERFLOW status code mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
RaisinTen committed Apr 9, 2021
1 parent 47e0c5c commit 3774ea5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/src/errors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,10 @@ Error constants
operation not supported on socket

.. c:macro:: UV_EOVERFLOW
value too large for defined data types

.. c:macro:: UV_EPERM
operation not permitted
Expand Down
1 change: 1 addition & 0 deletions include/uv.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ extern "C" {
XX(ENOTEMPTY, "directory not empty") \
XX(ENOTSOCK, "socket operation on non-socket") \
XX(ENOTSUP, "operation not supported on socket") \
XX(EOVERFLOW, "value too large for defined data type") \
XX(EPERM, "operation not permitted") \
XX(EPIPE, "broken pipe") \
XX(EPROTO, "protocol error") \
Expand Down

0 comments on commit 3774ea5

Please sign in to comment.