Skip to content

Getting X-FluidDB-* headers is awkward #1

@terrycojones

Description

@terrycojones

When an API call results in an error, the FluidError instance has the FluidResponse received in args[0] and one can get at the headers from the response via err.args[0].response.headers (where err is the FluidError instance).

It would be nice if the X-FluidDB-* error headers were more easily accessible. Similarly, the request id is in err.args[0].request_id and could be promoted to more prominence in FluidError.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions