blob: 6c85084d92526e35f508b9d4b6d333ec4c03c14f [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.
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" />';
}