Copyright | (c) 2019-2020 Emily Pillmore |
---|---|
License | BSD-style |
Maintainer | Emily Pillmore <emilypi@cohomolo.gy> |
Stability | Experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This module contains the error types raised (not as exceptions!) in the decoding process.
Synopsis
- data Base64Error e
Documentation
data Base64Error e Source #
This data type represents the type of decoding errors of
various kinds as they pertain to decoding Text
values.
Namely, to distinguish between decoding errors from opaque
unicode exceptions caught in the unicode decoding process.
DecodeError Text | The error associated with decoding failure as a result of the Base64 decoding process |
ConversionError e | The error associated with the decoding failure as a result of the conversion process |
Instances
Eq e => Eq (Base64Error e) Source # | |
Defined in Data.Text.Encoding.Base64.Error (==) :: Base64Error e -> Base64Error e -> Bool # (/=) :: Base64Error e -> Base64Error e -> Bool # | |
Show e => Show (Base64Error e) Source # | |
Defined in Data.Text.Encoding.Base64.Error showsPrec :: Int -> Base64Error e -> ShowS # show :: Base64Error e -> String # showList :: [Base64Error e] -> ShowS # |