pub fn handle_bitrouter_rejection(err: &Rejection) -> Option<Response<String>>Expand description
Converts a [BitrouterRejection] or [BadRequest] warp rejection into a
structured JSON error response.
Returns Some(response) if the rejection matches, None otherwise —
allowing callers to fall through to other rejection handling.