isError static method

bool isError(
  1. int code
)

Is the reason code an error. True if an error code or is not set.

Implementation

static bool isError(int code) => code >= 0x80;