Skip to content

Map Events HostErrors to Human-Readable Descriptions #267

Description

@codeZe-us

If an error occurs related to emitting events (e.g., exceeding size limits), the host returns a HostError::Events code. Users need to know exactly what constraint was violated.

  • Map HostError::Events codes to understandable explanations about event emission failures.
  • Add these error descriptions to the error parser.

Expectation: Prism clearly displays why a contract's event emission failed, such as "too many topics" or "data payload too large".

Contributor telegram group: https://t.me/+sII7WPhll2liMGNk

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions