isExpected property
bool
get
isExpected
Whether this error is expected/routine and shouldn't be logged as error.
Implementation
bool get isExpected =>
this == pb_enum.ErrorCode.ERROR_CODE_CANCELLED ||
this == pb_enum.ErrorCode.ERROR_CODE_STREAM_CANCELLED;