/* This file is part of jellything (https://codeberg.org/metamuffin/jellything) which is licensed under the GNU Affero General Public License (version 3); see /COPYING. Copyright (C) 2025 metamuffin */ use thiserror::Error; #[derive(Debug, Error)] pub enum Error { #[error("invalid padding")] InvalidPadding, #[error("varint too long")] VarintTooLong, #[error("global tags dont provide any context")] GlobalTagsAsContext, #[error("invalid length of a exact size type")] InvalidTypeLen, #[error("invalid utf8")] InvalidUTF8, #[error("unknown id")] UnknownID, #[error("io: {0}")] Io(#[from] std::io::Error), }