Skip to main content

FAILURE_PREFIX

Constant FAILURE_PREFIX 

Source
pub const FAILURE_PREFIX: &str = "frust-devtools: service did not start: ";
Expand description

The exact substring a shell logs (via format_failure_line) when the in-app devtools service is compiled in but could not start — a bind refused by the OS, an ephemeral-port exhaustion, a runtime that would not build. The human reason follows immediately.

Tooling greps for this the same way it greps for DISCOVERY_PREFIX, so a session that will never announce a port turns “waiting for a discovery line…” into the concrete reason instead of an eternal silent wait. Shared here so the logging side and the parsing side cannot drift.