Skip to content
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

How can I catch an error? #178

Open
Almeidowski opened this issue Jun 24, 2021 · 1 comment
Open

How can I catch an error? #178

Almeidowski opened this issue Jun 24, 2021 · 1 comment

Comments

@Almeidowski
Copy link

Hi! I got the following error: ER_DUP_ENTRY. I would like to know how can I catch it with lua?
For example:
if ER_DUP_ENTRY then

@Almeidowski Almeidowski assigned ghost Jun 24, 2021
@iWanheda
Copy link

That's not even script related, it's an error in your MySQL syntax, you cannot make 2 entries with the same PK (Primary Key)

https://google.it/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants