comit-network / comit-rs

Reference implementation of COMIT, an open protocol facilitating trustless cross-blockchain applications.
GNU General Public License v3.0
191 stars 33 forks source link

Use RFC7807 to generate proper error messages for the COMIT node CLI #29

Closed thomaseizinger closed 5 years ago

thomaseizinger commented 6 years ago

Use http://docs-rs.com/http-api-problem/0.5.1/http_api_problem/ to generate good error messages.

If we activate the feature with_rocket, we can use HttpApiProblem as the Err type in Result responses from our handlers.

Child of #408.

bonomat commented 6 years ago

Obsolete because we no longer use http between nodes

thomaseizinger commented 6 years ago

I think we should re-open this for the communication between COMIT nodes and the CLI.

thomaseizinger commented 5 years ago

This is done as part of #232.

D4nte commented 5 years ago

Now done with warp for both LQS and COMIT.