We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Was trying to get the following:
PDOException (23000) SQLSTATE[23000]: Integrity constraint violation...
But I eneded up with:
Wrong parameters for PDOException([string $message [, long $code [, Throwable $previous = NULL]]])
because:
Atlas.Orm/src/Transaction/AutoTransact.php
Line 37 in d3d6bdb
I think casting the code to an int resolves the issue, but I havent inspected enough to know if thats the correct solution:
throw new $c($e->getMessage(), (int) $e->getCode(), $e);
The text was updated successfully, but these errors were encountered:
I did a pull request on this problem: #98 I wait merging. Any news ?
Sorry, something went wrong.
No branches or pull requests
Was trying to get the following:
But I eneded up with:
because:
Atlas.Orm/src/Transaction/AutoTransact.php
Line 37 in d3d6bdb
I think casting the code to an int resolves the issue, but I havent inspected enough to know if thats the correct solution:
The text was updated successfully, but these errors were encountered: