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

refactor: make error strings better #42

Merged
merged 1 commit into from
Sep 6, 2024
Merged

Conversation

serramatutu
Copy link
Collaborator

This commit makes our error messages better since our errors weren't stringifying properly. It also adds a timeout_ms parameter to the TimeoutError so users get a proper feedback of what the current timeout is set at.

This commit makes our error messages better since our errors weren't
stringifying properly. It also adds a `timeout_ms` parameter to the
`TimeoutError` so users get a proper feedback of what the current
timeout is set at.
@serramatutu serramatutu merged commit c2d3d35 into main Sep 6, 2024
8 checks passed
@serramatutu serramatutu deleted the serramatutu/improve-errors branch September 6, 2024 17:21
@@ -1,10 +1,31 @@
class SemanticLayerError(RuntimeError):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these exceptions take in an error message?

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.

3 participants