blob: eec71eb848ea1bb6f7d471fff2eded3aed074850 [file]
// Copyright 2026 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.
use thiserror::Error;
#[derive(Debug, Error)]
pub enum Error {
#[error("GATT operation error: {0}")]
Gatt(#[from] bt_gatt::types::Error),
#[error("Packet encoding/decoding error: {0}")]
Packet(#[from] bt_common::packet_encoding::Error),
#[error("Other error: {0}")]
Other(String),
}