环境异常(Exception)

The exception an Environment wraps in Result.failure for recoverable failures (a missing file, an unreadable path, a command that fails to launch). Its message is forwarded to the model as a tool error, so it MUST be precise, self-contained, and free of sensitive internal detail. Implementations should wrap only EnvironmentException in Result.failure.

构造函数(Constructors)

Link copied to clipboard
constructor(message: String, cause: Throwable? = null)

属性(Properties)

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?