AnalysisResult
data class AnalysisResult(val message: String, val explanation: String, val retrySignal: RetrySignal, val confidence: Int, val throwableMaker: (message: String) -> Throwable)(source)
A returned analysis result in a ShellSentryExtension.
Properties
Link copied to clipboard
A confidence level, on a scale of 0-100. This is useful for dynamic analysis that made be subject to confidence levels, such as an AI analyzer.
Link copied to clipboard
A detailed, multi-line message explaining the error and suggesting a solution.
Link copied to clipboard
A RetrySignal indicating if this can be retried.
Link copied to clipboard
A function that takes the message and returns a Throwable for reporting to Bugsnag. Consider subclassing NoStacktraceThrowable if needed.