Skip to content

feat(rln): get more specific error details using viem types #2740

@adklempner

Description

@adklempner

Description

Currently, we naively log the error thrown by viem when interacting with wallet/blockchain.

Viem provides specific error types that can be used to produce more granular error messages/logic:
https://viem.sh/docs/contract/simulateContract#handling-custom-errors
https://viem.sh/docs/error-handling#error-handling

User Story

Proposed Solution / Feature Design

Optional: Diagram or Draft of Design

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions