struct

Crig::Tool::ToolResult

Inherits Struct < Value < Object

Constructors

failed(err : ToolExecutionError) : self
Source
new(disposition : ToolDisposition, output : ToolOutput, error : ToolExecutionError | Nil = nil)
Source
skipped(reason : String) : self
Source
success(output : ToolOutput) : self
Source

Instance methods

disposition
Source
error
Source
error?
Source
is_error_kind(kind : ToolErrorKind) : Bool

ameba:disable Naming/PredicateName

Source
output
Source
refusal
Source
refused?
Source
skipped?
Source
status_name
Source
success?
Source