Fix documentation of ResultDetails.code

This commit is contained in:
baldurk
2025-02-26 16:13:24 +00:00
parent 19512165bb
commit fe9a875fab
+4 -2
View File
@@ -1172,8 +1172,10 @@ struct ResultDetails
bool operator==(ResultCode resultCode) const { return code == resultCode; }
bool operator!=(ResultCode resultCode) const { return code != resultCode; }
#endif
DOCUMENT(
"The :class:`ResultDetails` resulting from the operation, indicating success or failure.");
DOCUMENT(R"(The :class:`ResultCode` resulting from the operation, indicating success or failure.
:type: ResultCode
)");
ResultCode code;
DOCUMENT(R"(For error codes, this will contain the stringified error code as well as any optional