Skip to content

$RAISE Function for marking code and to produce compile-time errors #2

@CakeOfPain

Description

@CakeOfPain

As a developer using Gismo macros, I want a function named $RAISE that allows me to do the following:

$RAISE(2 + 3, "This section of code is causing an error!")

This should output:

Error: This section of code is causing an error!
someFile.gsm:
1: $RAISE(2 + 3, "This section of code is causing an error!")
          ^ ^ ^

This functionality will enable me to generate clear and comprehensive error messages that are easy for users to understand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions