Remove misleading error message of "unknown error" for custom errnos.