Skip to content

The app client should have a public method for quickly mapping pc to TEAL line/error message #367

@joe-p

Description

@joe-p

Problem

There some scenarios where a developer might have the PC of an error from a call that was performed outside te app client and thus was not parsed into a LogicError.

Solution

Proposal

There should be a simple function on the app client that takes in a pc number and spits back out the corresponding TEAL line and/or error message from ARC56.

Pros and Cons

Non-breaking change
Makes debugging easier for developers
Makes error handling easier in more complex scenarios

Dependencies

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions