blockfrost / blockfrost-rust

Rust SDK for Blockfrost.io
Apache License 2.0
16 stars 17 forks source link

unable to get ResponseError::status_code because fields are private #20

Closed f-squirrel closed 2 years ago

f-squirrel commented 2 years ago

Hey, I am trying to get status_code from ResponseError as a variable but it is private. Also, there is no "getter" for these fields. Is there a standard way to do it?

marcospb19 commented 2 years ago

Because it's just an error, I think it's reasonable to make its members public.