Skip to content

Throw analogue, that uses text, not integer exit codes #2701

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Shvandre opened this issue Apr 9, 2025 · 2 comments · May be fixed by #2702
Open

Throw analogue, that uses text, not integer exit codes #2701

Shvandre opened this issue Apr 9, 2025 · 2 comments · May be fixed by #2702
Assignees
Labels
scope: stdlib The Tact standard library (src/stdlib)
Milestone

Comments

@Shvandre
Copy link
Contributor

Shvandre commented Apr 9, 2025

I think good name for it is raise("Error")

@Shvandre Shvandre added this to the v1.6.6 milestone Apr 9, 2025
@Shvandre Shvandre self-assigned this Apr 9, 2025
@novusnota novusnota added the scope: stdlib The Tact standard library (src/stdlib) label Apr 9, 2025
@anton-trunov
Copy link
Member

Just make sure there are no clashes between the resulting integers

@Shvandre Shvandre linked a pull request Apr 9, 2025 that will close this issue
@anton-trunov anton-trunov modified the milestones: v1.6.6, v1.7.0 Apr 15, 2025
@anton-trunov
Copy link
Member

It' better to solve this with macros

@anton-trunov anton-trunov removed this from the v1.6.7 milestone Apr 22, 2025
@novusnota novusnota modified the milestones: v1.8.0, v1.7.0 Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: stdlib The Tact standard library (src/stdlib)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants