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 two grounded not-found codes are
swallowed — routeros/unknown-path (the classified form) 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 two grounded not-found codes are swallowed —
routeros/unknown-path(the classified form) 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).