elixir-cloud-aai / ga4gh-sdk

Generic SDK and CLI for GA4GH API services
Apache License 2.0
11 stars 1 forks source link

Think about error handling #9

Closed uniqueg closed 2 months ago

uniqueg commented 4 months ago

I am not entirely happy of my current approach in nanopub-rs: https://github.com/vemonet/nanopub-rs/blob/main/lib/src/error.rs Because I only defined 1 error type and put everything in it like a barbarian

The approach I took in curies.rs with multiple error types is better imo: https://github.com/biopragmatics/curies.rs/blob/main/lib/src/error.rs