mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 22:17:05 +07:00
`Result` was introduced to attach addition error information. If there is one, and only one possible error, `null` is much cleaner solution. Just like `Map.get` doesn't return `PyResult` but `null` of no element found, one doesn't use `PyResult` for things like `detectTool` if the only two possible results are either tool or "no tool found". GitOrigin-RevId: 969c817f84dfc9d61cc3737214deac1bc5c84327