errno.h maps the error numbers to their defined names
man errno
will give you a brief description of what that defined name means.
Be aware that these are *system* error numbers which are pretty consistently returned by system calls. There's nothing anywhere that states that anything thats not a system call has to stick tyo these return codes. Applications and scripts can pretty much return whatever error number they like, and you have to check the documentation for each to know. The only standard I know of is the "de-facto" strandard that 0 = success and non-zero = failure.
HTH
Duncan
I am an HPE Employee