There's a third case that neither error type catches: the tool fails but returns success anyway. An expired token that comes back as an empty list has isError false and no JSON-RPC error, and the model reads it as "nothing found". Of the three, that's the one I'd test for first.