| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
KDL.Decoder.Internal.Error
Documentation
data DecodeError Source #
Constructors
| DecodeError | |
Instances
| Show DecodeError Source # | |
Defined in KDL.Decoder.Internal.Error Methods showsPrec :: Int -> DecodeError -> ShowS # show :: DecodeError -> String # showList :: [DecodeError] -> ShowS # | |
| Eq DecodeError Source # | |
Defined in KDL.Decoder.Internal.Error | |
type BaseDecodeError = (Context, DecodeErrorKind) Source #
data DecodeErrorKind Source #
Constructors
Instances
| Show DecodeErrorKind Source # | |
Defined in KDL.Decoder.Internal.Error Methods showsPrec :: Int -> DecodeErrorKind -> ShowS # show :: DecodeErrorKind -> String # showList :: [DecodeErrorKind] -> ShowS # | |
| Eq DecodeErrorKind Source # | |
Defined in KDL.Decoder.Internal.Error Methods (==) :: DecodeErrorKind -> DecodeErrorKind -> Bool # (/=) :: DecodeErrorKind -> DecodeErrorKind -> Bool # | |
type Context = [ContextItem] Source #
data ContextItem Source #
Constructors
| ContextNode | |
Fields
| |
| ContextArg | |
| ContextProp | |
Fields
| |
Instances
| Show ContextItem Source # | |
Defined in KDL.Decoder.Internal.Error Methods showsPrec :: Int -> ContextItem -> ShowS # show :: ContextItem -> String # showList :: [ContextItem] -> ShowS # | |
| Eq ContextItem Source # | |
Defined in KDL.Decoder.Internal.Error | |
| Ord ContextItem Source # | |
Defined in KDL.Decoder.Internal.Error Methods compare :: ContextItem -> ContextItem -> Ordering # (<) :: ContextItem -> ContextItem -> Bool # (<=) :: ContextItem -> ContextItem -> Bool # (>) :: ContextItem -> ContextItem -> Bool # (>=) :: ContextItem -> ContextItem -> Bool # max :: ContextItem -> ContextItem -> ContextItem # min :: ContextItem -> ContextItem -> ContextItem # | |
renderDecodeError :: DecodeError -> Text Source #