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

Handle string error codes #7878

Merged
merged 5 commits into from May 1, 2024
Merged

Handle string error codes #7878

merged 5 commits into from May 1, 2024

Conversation

fogelito
Copy link
Contributor

PDOExeptions error code are string , for example:
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away.

error code is = HY000

What does this PR do?

(Provide a description of what this PR does and why it's needed.)

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Screenshots may also be helpful.)

Related PRs and Issues

  • (Related PR or issue)

Checklist

  • Have you read the Contributing Guidelines on issues?
  • If the PR includes a change to an API's metadata (desc, label, params, etc.), does it also include updated API specs and example docs?

@abnegate abnegate changed the base branch from main to refactor-usage-sn April 30, 2024 00:29
@abnegate abnegate merged commit 7d7e005 into refactor-usage-sn May 1, 2024
21 checks passed
@abnegate abnegate deleted the string-error-code branch May 1, 2024 07:50
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

Successfully merging this pull request may close these issues.

None yet

3 participants