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
Calls such as error "Failed to create rendering context" could be improved by saying why.
error "Failed to create rendering context"
The text was updated successfully, but these errors were encountered:
In my fork I'm also trying to improve that. I'm using these two functions for error reporting: https://github.com/osa1/hsSDL2/blob/master/Graphics/UI/SDL/General.hsc#L222
An example use: https://github.com/osa1/hsSDL2/blob/master/Graphics/UI/SDL/Render.hsc#L125
Later we can change handleError and handleErrorI and provide user to specify an error handler so that he/she can show errors in a window, for example.
handleError
handleErrorI
I still have a few undefined parts in my work and after fixing those I'll submit a pull request.
undefined
Sorry, something went wrong.
No branches or pull requests
Calls such as
error "Failed to create rendering context"
could be improved by saying why.The text was updated successfully, but these errors were encountered: