1 2 3 4 5 6 7 8 9 10 11 12 13 14
// Copyright (c) The Diem Core Contributors
// SPDX-License-Identifier: Apache-2.0
use thiserror::Error;
/// Diem Wallet Error is a convenience enum for generating arbitrary WalletErrors. Currently, only
/// the DiemWalletGeneric error is being used, but there are plans to add more specific errors as
/// the Diem Wallet matures
#[derive(Debug, Error)]
pub enum WalletError {
/// generic error message
#[error("{0}")]
DiemWalletGeneric(String),
}