isFail property

bool get isFail

Indicates whether the operation failed.

Returns true if error is less than 0, false otherwise.

Implementation

bool get isFail => error < 0;