Skip to main content

codec_base64/
error.rs

1// SPDX-FileCopyrightText: Copyright © 2026 ReallyMe LLC. All rights reserved
2//
3// SPDX-License-Identifier: Apache-2.0
4
5use thiserror::Error;
6
7/// Error returned when base64 decoding fails.
8#[derive(Debug, Error)]
9pub enum Base64Error {
10    /// The input was not valid base64.
11    #[error("invalid base64")]
12    Invalid,
13}