Skip to content

Exception cleanup #86

@shsms

Description

@shsms

What's needed?

All exceptions raised by the client need to be subclasses of ApiClientError. For non-grpc error, we could have an additional subclass called TradingClientError.

Then the documentation need be updated to say that users can catch all client exceptions by just catching ApiClientError.

Proposed solution

No response

Use cases

No response

Alternatives and workarounds

No response

Additional context

No response

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    part:❓We need to figure out which part is affectedpriority:❓We need to figure out how soon this should be addressedtype:enhancementNew feature or enhancement visitble to users

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions