Skip to content

[feature]: structured error codes for price oracles #1749

@jtobin

Description

@jtobin

The error code in an OracleError potentially returned by a price oracle is, at present, an unstructured uint8. We simply want to start adding some structure here, defining useful codes that price oracles can use to report errors (e.g. asset not supported) and that we can handle gracefully in turn.

This subsumes e.g. #1326 and possibly #1501.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFQWork relating to TAP channel Request For Quote (RFQ).enhancementNew feature or requesterror handlingoracle

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions