// =============================================================================
// Copyright (c) 2026 Haixing Hu.
//
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0.
// =============================================================================
use Error;
/// Classifies failures detected while decoding LEB128 integers.
///
/// # Examples
///
/// ```
/// use qubit_codec_binary::Leb128DecodeErrorKind;
///
/// let kind = Leb128DecodeErrorKind::NonCanonical;
/// assert_eq!(kind.to_string(), "non-canonical LEB128 integer");
/// ```