isError property

bool get isError

Implementation

bool get isError {
  return code == -1;
}