Skip to content

Commit e468c8d

Browse files
committed
fmt
1 parent 5c23a50 commit e468c8d

File tree

1 file changed

+6
-4
lines changed
  • session-state-machine/src/main/scala/zio/raft/sessionstatemachine

1 file changed

+6
-4
lines changed

session-state-machine/src/main/scala/zio/raft/sessionstatemachine/package.scala

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,15 @@ package object sessionstatemachine:
147147
* Per Raft dissertation Chapter 6.3, the client should create a new session and retry the operation.
148148
*/
149149
case ResponseEvicted extends RequestError[Nothing]
150+
150151
/** Command execution failed with a user-defined error.
151152
*
152-
* This error occurs when the state machine's applyCommand method returns a failure.
153-
* The error is cached to maintain idempotency - duplicate requests will return the same error.
154-
* Unlike ResponseEvicted, the client can retry with the same session or handle the error appropriately.
153+
* This error occurs when the state machine's applyCommand method returns a failure. The error is cached to
154+
* maintain idempotency - duplicate requests will return the same error. Unlike ResponseEvicted, the client can
155+
* retry with the same session or handle the error appropriately.
155156
*
156-
* @param e The user-defined error value
157+
* @param e
158+
* The user-defined error value
157159
*/
158160
case UserError(e: E) extends RequestError[E]
159161

0 commit comments

Comments
 (0)