net/hinic/base: modify returned error values