blob: 319eae17c261d860cceae86e5a3a0f3117736c46 [file] [log] [blame]
// Copyright 2013 The Flutter 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 BrowserInstallerException implements Exception {
BrowserInstallerException(this.message);
final String message;
@override
String toString() => message;
}
/// Throw this exception in felt command to exit felt with a message and a
/// non-zero exit code.
class ToolExit implements Exception {
ToolExit(this.message, { this.exitCode = 1 });
final String message;
final int exitCode;
@override
String toString() => message;
}