Skip to content

Commit

Permalink
Merge pull request #636 from janndriessen/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslavyaroslav authored Oct 12, 2022
2 parents 860c68e + a23eeb5 commit 5a58f76
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ fileprivate enum JsonRpcErrorCode {
case -32603:
return .internalError
default:
if (-32000)...(-32099) ~= code {
if (-32099)...(-32000) ~= code {
return .serverError(code)
}
return nil
Expand Down

0 comments on commit 5a58f76

Please sign in to comment.