isAbnormal method

bool isAbnormal()

是否异常

Implementation

bool isAbnormal() {
  return this == connectException || this == disconnectError;
}