Skip to content

Improve error message when program is incorrect #350

@mateuszsikora

Description

@mateuszsikora

Currently when a program is incorrect we show an error message from codec that current data length is incorrect. It is not clear if program is incorrect or debugger doesn't work correctly. The message should:

  • clearly indicate that program is incorrect (the error from codec can be printed in the browser console)
  • in the perfect case includes information what is wrong - (for example: expected 1024 bytes read-only data, got 10 bytes). Unfortunately typeberry does not provide such data yet.
  • contains a link to a new issue on github where a user can report the problem and send us the program that is trying to load

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    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