Skip to content

Commit

Permalink
Add doc on request notifications that are considered fatal
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin Norman committed Jan 10, 2019
1 parent 9f16db9 commit 80e9ad0
Show file tree
Hide file tree
Showing 9 changed files with 52 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/dhtproto/client/request/Exists.d
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ public struct Args
Union of possible notifications.
The following notifications are considered fatal (i.e. the request will
almost certainly get the same error if retried):
* node_error
* unsupported
* wrong_node
*******************************************************************************/

private union NotificationUnion
Expand Down
6 changes: 6 additions & 0 deletions src/dhtproto/client/request/Get.d
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ public struct Timeout
Union of possible notifications.
The following notifications are considered fatal (i.e. the request will
almost certainly get the same error if retried):
* node_error
* unsupported
* wrong_node
*******************************************************************************/

private union NotificationUnion
Expand Down
5 changes: 5 additions & 0 deletions src/dhtproto/client/request/GetAll.d
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ public struct Args
Union of possible notifications.
The following notifications are considered fatal (i.e. the request will
almost certainly get the same error if retried):
* node_error
* unsupported
*******************************************************************************/

private union NotificationUnion
Expand Down
5 changes: 5 additions & 0 deletions src/dhtproto/client/request/GetChannels.d
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ public struct Args
Union of possible notifications.
The following notifications are considered fatal (i.e. the request will
almost certainly get the same error if retried):
* node_error
* unsupported
*******************************************************************************/

private union NotificationUnion
Expand Down
5 changes: 5 additions & 0 deletions src/dhtproto/client/request/Mirror.d
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ public struct Args
Union of possible notifications.
The following notifications are considered fatal (i.e. the request will
almost certainly get the same error if retried):
* node_error
* unsupported
*******************************************************************************/

private union NotificationUnion
Expand Down
7 changes: 7 additions & 0 deletions src/dhtproto/client/request/Put.d
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ public struct Args
Union of possible notifications.
The following notifications are considered fatal (i.e. the request will
almost certainly get the same error if retried):
* node_error
* unsupported
* wrong_node
* value_too_big
*******************************************************************************/

private union NotificationUnion
Expand Down
6 changes: 6 additions & 0 deletions src/dhtproto/client/request/Remove.d
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ public struct Args
Union of possible notifications.
The following notifications are considered fatal (i.e. the request will
almost certainly get the same error if retried):
* node_error
* unsupported
* wrong_node
*******************************************************************************/

private union NotificationUnion
Expand Down
6 changes: 6 additions & 0 deletions src/dhtproto/client/request/RemoveChannel.d
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ public struct Args
Union of possible notifications.
The following notifications are considered fatal (i.e. the request will
almost certainly get the same error if retried):
* node_error
* unsupported
* not_permitted
*******************************************************************************/

private union NotificationUnion
Expand Down
6 changes: 6 additions & 0 deletions src/dhtproto/client/request/Update.d
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ public struct Args
Union of possible notifications.
The following notifications are considered fatal (i.e. the request will
almost certainly get the same error if retried):
* node_error
* unsupported
* wrong_node
*******************************************************************************/

private union NotificationUnion
Expand Down

0 comments on commit 80e9ad0

Please sign in to comment.