isError

fnbool isError(PcapStatus status) pure nothrow @safe @nogc

Checks if the given status code represents an error.

Parameters

statusThe status code to check.

Returns

true if the status is an error (negative).