Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 9bb5dc1

Browse files
committed
unify field name
1 parent 5d8a056 commit 9bb5dc1

File tree

1 file changed

+2
-2
lines changed
  • docs/Protocol Specifications

1 file changed

+2
-2
lines changed

docs/Protocol Specifications/core.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ the closing of a channel.
399399
"action": "subscribe",
400400
"service": "service_name",
401401
"success": false,
402-
"errorMessage": "Service not found"
402+
"error": "Service not found"
403403
},
404404
"s": 1
405405
}
@@ -425,7 +425,7 @@ the closing of a channel.
425425
| `action` | string | The action to perform on the service channel. Must be either `subscribe` or `unsubscribe`. |
426426
| `service` | string | The polyproto service that was specified in the opcode 8 request |
427427
| `success` | boolean | Whether the action was successful or not. |
428-
| `message` | string? | Only present if `success` is `false`. A message indicating why the action failed. |
428+
| `error` | string? | Only present if `success` is `false`. A message indicating why the action failed. |
429429

430430
If a successful subscription to a service channel is acknowledged, all logic and further event on
431431
this channel are defined by the service's specification.

0 commit comments

Comments
 (0)