Skip to content

Make MLXError provide a description#268

Merged
davidkoski merged 2 commits intoml-explore:mainfrom
louen:val/errormessage
Sep 10, 2025
Merged

Make MLXError provide a description#268
davidkoski merged 2 commits intoml-explore:mainfrom
louen:val/errormessage

Conversation

@louen
Copy link
Contributor

@louen louen commented Sep 9, 2025

This small PR makes catchers of MLXError able to extract the error message in a generic way that works for all Errors, thus without having to cast it.

Copy link
Collaborator

@davidkoski davidkoski left a comment

Choose a reason for hiding this comment

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

Good idea, thanks!

@davidkoski davidkoski merged commit 6f58497 into ml-explore:main Sep 10, 2025
3 checks passed
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.

2 participants