Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move errors module back to json_rpc folder #188

Merged
merged 1 commit into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion json_rpc/client.nim
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import
./private/jrpc_sys,
./private/client_handler_wrapper,
./private/shared_wrapper,
./private/errors
./errors

from strutils import replace

Expand Down
2 changes: 1 addition & 1 deletion json_rpc/clients/httpclient.nim
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import
chronos/apps/http/httpclient as chronosHttpClient,
chronicles, httputils, json_serialization/std/net,
../client,
../private/errors,
../errors,
../private/jrpc_sys

export
Expand Down
2 changes: 1 addition & 1 deletion json_rpc/clients/socketclient.nim
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import
results,
chronos,
../client,
../private/errors,
../errors,
../private/jrpc_sys

export client
Expand Down
2 changes: 1 addition & 1 deletion json_rpc/clients/websocketclientimpl.nim
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import
pkg/websock/[websock, extensions/compression/deflate],
pkg/[chronos, chronos/apps/http/httptable, chronicles],
stew/byteutils,
../private/errors
../errors

# avoid clash between Json.encode and Base64Pad.encode
import ../client except encode
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions json_rpc/private/server_handler_wrapper.nim
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import
stew/[byteutils, objects],
json_serialization,
json_serialization/std/[options],
./errors,
./jrpc_sys,
../errors,
./jrpc_sys,
./shared_wrapper,
../jsonmarshal

Expand Down
2 changes: 1 addition & 1 deletion json_rpc/router.nim
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import
chronicles,
chronos,
./private/server_handler_wrapper,
./private/errors,
./errors,
./private/jrpc_sys,
./jsonmarshal

Expand Down
2 changes: 1 addition & 1 deletion json_rpc/server.nim
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import
./jsonmarshal,
./private/jrpc_sys,
./private/shared_wrapper,
./private/errors
./errors

export
chronos,
Expand Down
2 changes: 1 addition & 1 deletion json_rpc/servers/httpserver.nim
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import
stew/byteutils,
chronicles, httputils, chronos,
chronos/apps/http/[httpserver, shttpserver],
../private/errors,
../errors,
../server

export
Expand Down
2 changes: 1 addition & 1 deletion json_rpc/servers/socketserver.nim
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import
chronicles,
json_serialization/std/net,
../private/errors,
../errors,
../server

export errors, server
Expand Down
2 changes: 1 addition & 1 deletion tests/private/ethhexstrings.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import
../../json_rpc/private/errors
../../json_rpc/errors

type
HexQuantityStr* = distinct string
Expand Down