EnvironmentException

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?