module Data.Text.Encoding.Base64.Error
( Base64Error(..)
) where
import Data.Text (Text)
data Base64Error e
= DecodeError Text
| ConversionError e
deriving (Base64Error e -> Base64Error e -> Bool
(Base64Error e -> Base64Error e -> Bool)
-> (Base64Error e -> Base64Error e -> Bool) -> Eq (Base64Error e)
forall e. Eq e => Base64Error e -> Base64Error e -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Base64Error e -> Base64Error e -> Bool
$c/= :: forall e. Eq e => Base64Error e -> Base64Error e -> Bool
== :: Base64Error e -> Base64Error e -> Bool
$c== :: forall e. Eq e => Base64Error e -> Base64Error e -> Bool
Eq, Int -> Base64Error e -> ShowS
[Base64Error e] -> ShowS
Base64Error e -> String
(Int -> Base64Error e -> ShowS)
-> (Base64Error e -> String)
-> ([Base64Error e] -> ShowS)
-> Show (Base64Error e)
forall e. Show e => Int -> Base64Error e -> ShowS
forall e. Show e => [Base64Error e] -> ShowS
forall e. Show e => Base64Error e -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Base64Error e] -> ShowS
$cshowList :: forall e. Show e => [Base64Error e] -> ShowS
show :: Base64Error e -> String
$cshow :: forall e. Show e => Base64Error e -> String
showsPrec :: Int -> Base64Error e -> ShowS
$cshowsPrec :: forall e. Show e => Int -> Base64Error e -> ShowS
Show)