Python: introduce PyExecResult as an alias for Result<T, ExecError>.

It is just more convenient to right less generic params.

GitOrigin-RevId: cd33be23da4bb3cb09658aa6564e4d298a3ba72d
This commit is contained in:
Ilya.Kazakevich
2025-05-14 20:47:57 +00:00
committed by intellij-monorepo-bot
parent f1f77c0af7
commit 6bf17f551a
22 changed files with 109 additions and 116 deletions
@@ -6,6 +6,7 @@ import com.jetbrains.python.packaging.PyExecutionException
/**
* This class is expected to be used as a return value of most PyCharm APIs.
* Use it instead of exceptions and Kotlin Result.
* If your function returns [ExecError] only, use [PyExecResult]
*/
typealias PyResult<T> = com.jetbrains.python.Result<T, PyError>
/**