If I recall correctly, many of those are "Carbon-related" errors and mostly represent legacy baggage of Mac OS.
Not defending the design, but this website is sometimes useful for disambiguating OSStatus error codes: https://www.osstatus.com/