1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-02-23 22:46:44 +01:00
eclair/eclair-core
Dominique 059f211916 Improve JSON RPC API error handling (#322)
Service pattern matching code visually separates each method and
params to improve the code readability and maintenance. Route completion
is handle on a case by case basis, for each call. This enables better error
management and useful feedback to the caller.

Added custom rejections to handle cases where the given rpc method or
params are not found or not correct.

HTTP code should now be consistent with the error returned.
2017-12-22 21:01:40 +01:00
..
src Improve JSON RPC API error handling (#322) 2017-12-22 21:01:40 +01:00
eclair-cli Improve JSON RPC API error handling (#322) 2017-12-22 21:01:40 +01:00
pom.xml back to SNAPSHOT 2017-12-14 18:22:39 +01:00