Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
ErrorMesage Text | Generic, user-provided error message |
ErrorInvalidJSON | JSON was not up to spec |
ErrorBadType | Bad type encountered (Expected, Actual) |
| |
ErrorNoValue | There was no value for this JSON |
ErrorBadTextConstant | Text constant was wrong. |
| |
ErrorBadObject JSONObjectError | An object had some bad values. |
ErrorBadArray JSONArrayError | An array had some bad indices |
ErrorChoice !(Set JSONError) | One of multiple possible errors. |
Instances
newtype JSONObjectError Source #
Instances
singleObjectError :: Text -> JSONError -> JSONObjectError Source #
newtype JSONArrayError Source #
Instances
prettyPrintJSONError :: JSONError -> Text Source #