blob: 0fbd973e9b66230f10b746e8839beef3d10a7f23 [file] [log] [blame]
// Copyright 2018 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.
// ignore_for_file: public_member_api_docs
class FidlError implements Exception {
FidlError(this.message);
final String message;
@override
String toString() => 'FidlError: $message';
}
class MethodException<T> implements Exception {
MethodException(this.value);
final T value;
@override
String toString() => 'MethodException: $value';
}