Type Alias PbError
Source pub type PbError = PasteError;
pub enum PbError {
Show 20 variants
CipherNotImplemented {
cipher_algo: String,
cipher_mode: String,
keysize: u32,
},
MissingDecryptionKey,
PasteNotFound,
InvalidData,
UnknownPasteStatus(u32),
Json(Error),
Request(Error),
Io(Error),
ParseError(ParseError),
Base64Error(DecodeError),
Base58Error(Error),
Aes(Error),
Zlib(TINFLStatus),
InvalidAttachment(DataUrlError),
FileExists,
NotAFile,
InvalidTokenType(String),
OidcBadRequest(Value),
LoggerInit(SetLoggerError),
InvalidCertificate(String),
}