Skip to content
This repository was archived by the owner on Jan 16, 2023. It is now read-only.
This repository was archived by the owner on Jan 16, 2023. It is now read-only.

Tracking Errors in User Application #3

@GEverding

Description

@GEverding

With the migration to solana it's become more important to be able to track specific error codes in our application. The current api for SubmitPayment only returns a simple error.

SubmitPayment(ctx context.Context, payment Payment, opts ...SolanaOption) (txHash []byte, err error)

Returning an actual error enum so it can be tracked in prometheus would be very helpful. Currently there is no list of all possible errors returned so its kind of a best effort to track errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions