ToolException.fromProcessResult constructor
ToolException.fromProcessResult(
- PanaProcessResult result
Implementation
factory ToolException.fromProcessResult(PanaProcessResult result) {
final fullOutput = [
result.exitCode.toString(),
result.stdout.asString,
result.stderr.asString,
].map((e) => e.trim()).join('\n<***>\n');
return ToolException(fullOutput, result);
}