AppException.fromShellException constructor
AppException.fromShellException(
- ShellException error
Implementation
factory AppException.fromShellException(final ShellException error) {
return AppException(
name: "ShellException",
message: "Shell Run failed: ${error.message}",
description: error.result!.toFormattedString(),
);
}