blob: df324a78dc71e9232b38b1ac1e62e949c05f5d54 [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:meta/meta.dart';
class FailedProcessException implements Exception {
final List<String> command;
final int exitCode;
final String stdout;
final String stderr;
FailedProcessException({
@required this.command,
@required this.exitCode,
@required this.stdout,
@required this.stderr,
});
@override
String toString() =>
'<FailedProcessException ${command.join(' ')}::$exitCode "$stderr" />';
}