-
-
Notifications
You must be signed in to change notification settings - Fork 689
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
PlayerException
Docs Missing Error Code Details
#1103
Comments
To be honest, Apple's error code documentation is all over the place because there are different error domains with their own set of codes, and there is no document that tells you exactly which subset of errors is possible for a given API call. But if you receive an error, you can look it up by searching for that specific error. One thing that could help in the future is if the |
FYI, here is one domain that shows up a lot: https://developer.apple.com/documentation/foundation/nsurlerrordomain?language=objc |
Maybe apple just has a bad layout, but I can't find a list of actual error codes/numbers. |
That's correct, each error is defined as a constant, and while you can find various lists of these error symbols, you have to click on each one to view the page for that symbol which tells you the error code. If you want a list of all error codes, perhaps what you can do is find the Apple header files which may include the symbols and the numeric codes. |
Here's the header file containing the error codes for the domain I mentioned above: |
Thanks. Thats perfect! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with just_audio. |
To which pages does your suggestion apply?
Quote the sentences(s) from the documentation to be improved (if any)
Describe your suggestion
Link to where this error code info is, I have searched for a while and cant find the apple docs for these error codes
The text was updated successfully, but these errors were encountered: