inspectChildren that swallows a "path not found" trap to an empty
list, so the caller can classify the absence itself (REST returns an empty
child list; native traps). Only the grounded not-found codes are
swallowed — routeros/unknown-path and routeros/no-such-item (the
classified forms) and the legacy routeros/api-trap catch-all; every other
error propagates. Use this for the
existence probe, not for attribute/value discovery (where a trap is a real
failure).
inspectChildren that swallows a "path not found" trap to an empty list, so the caller can classify the absence itself (REST returns an empty child list; native traps). Only the grounded not-found codes are swallowed —
routeros/unknown-pathandrouteros/no-such-item(the classified forms) and the legacyrouteros/api-trapcatch-all; every other error propagates. Use this for the existence probe, not for attribute/value discovery (where a trap is a real failure).