Closed ohmree closed 3 years ago
Thank you for the PR! 😃 I would like to avoid extra dependencies in the library if possible. I use thiserror
myself and might make use it if this library starts generating more complex errors but for now I think a match would suffice.
Following up on #49, I made a few quick changes to
miniaudio::Error
to make it use thiserror and removed some now-redundant code.Is this okay? I could refactor it into a manually implemented version without thiserror if the extra dependency is a no-no, I only used it because it's what I know and I like how the message is coupled with the error.