@Override
  public void serialize(final DataOutputStream stream) throws IOException {
    ReadWriteIOUtils.write(errorMessage, stream);
    ReadWriteIOUtils.write(critical, stream);
  }
Indicates whether the error is critical.
iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/subscription/payload/poll/ErrorPayload.java