PcapError.toString

string toString() const

Formats the error for display.

Returns

A formatted string containing the status and message.