Skip to content

Commit cb43883

Browse files
authored
fix reversed Result monad (fix #226) (#227)
1 parent f489ed8 commit cb43883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonrpcserver/result.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __repr__(self) -> str:
3131

3232

3333
# Union of the two valid result types
34-
Result = Either[SuccessResult, ErrorResult]
34+
Result = Either[ErrorResult, SuccessResult]
3535

3636

3737
# Helpers

0 commit comments

Comments
 (0)