docs: private void checkException(DataInputStream inputStream) throws IOException {
          short retCode = inputStream.readShort();
          if(retCode != 0) {
              String error = inputStream.readUTF();
              throw mapper.getError(retCode, error);
          }
      }