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

Make the default error message one line #241

Merged

Conversation

makenowjust
Copy link
Collaborator

Previously, the error Error() returned by the parser was a multi-line string. However, Go often returns a new error that wraps the error, so a one-line error message is more convenient. Therefore, the default error message is one-line.

You can get the previous multi-line error message with FullError().

@makenowjust makenowjust merged commit 0a819f0 into cloudspannerecosystem:main Dec 23, 2024
2 checks passed
@makenowjust makenowjust deleted the fix/1-line-error-message branch December 23, 2024 07:27
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.

1 participant