AppException.fromShellException constructor

AppException.fromShellException(
  1. ShellException error
)

Implementation

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