From: Chris Duncan Date: Sat, 14 Jun 2025 19:29:15 +0000 (-0700) Subject: Add man page content about error objects. X-Git-Tag: v5.0.0~30 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=01c5f01930ae14958689445ca9154880a349e5ae;p=nano-pow.git Add man page content about error objects. --- diff --git a/docs/nano-pow.1 b/docs/nano-pow.1 index eafb43e..302325e 100644 --- a/docs/nano-pow.1 +++ b/docs/nano-pow.1 @@ -126,6 +126,16 @@ Run a benchmark of generating work for 100 random sample blockhashes: $ nano-pow \fB\--benchmark 100\fR .EE +.SH ERRORS +Errors encountered during work generation will prompt a retry of the request, +and further errors will return an error object. Server errors will throw as +usual. +.EX +'{ + "error": "failed to generate work" +}' +.EE + .SH EXAMPLES - SERVER .PP Generate a work value: