blob: 09aa553d2b1caff62b537fae756ece0e5ad6b44a [file] [log] [blame]
// Copyright 2021 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:googleapis/vision/v1.dart' as vision;
class VisionException implements Exception {
final vision.Status error;
VisionException(this.error);
@override
String toString() => 'Error from Cloud Vision API: ${error.toJson()}';
}