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)]
9#[non_exhaustive]
10pub enum Base64Error {
11 /// The input was not valid base64.
12 #[error("invalid base64")]
13 Invalid,
14}