mirror of
https://github.com/logos-storage/nim-json-rpc.git
synced 2026-01-03 22:23:09 +00:00
Export errors for json-rpc clients (#218)
Errors should get exported considering they are part of the json-rpc APIs.
This commit is contained in:
parent
a20ba207d2
commit
ad8721e0f3
@ -18,7 +18,7 @@ import
|
||||
../private/jrpc_sys
|
||||
|
||||
export
|
||||
client, HttpClientFlag, HttpClientFlags
|
||||
client, errors, HttpClientFlag, HttpClientFlags
|
||||
|
||||
logScope:
|
||||
topics = "JSONRPC-HTTP-CLIENT"
|
||||
|
||||
@ -16,7 +16,7 @@ import
|
||||
../errors,
|
||||
../private/jrpc_sys
|
||||
|
||||
export client
|
||||
export client, errors
|
||||
|
||||
logScope:
|
||||
topics = "JSONRPC-SOCKET-CLIENT"
|
||||
|
||||
@ -16,4 +16,5 @@ import
|
||||
|
||||
export
|
||||
websocketclientimpl,
|
||||
client
|
||||
client,
|
||||
errors
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user