| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Xeno.Errors
Description
Simplifies raising and presenting localized exceptions to the user.
Synopsis
- printExceptions :: ByteString -> [XenoException] -> IO ()
- displayException :: ByteString -> XenoException -> ByteString
- getStartIndex :: ByteString -> Int
- failHere :: ByteString -> ByteString -> Either XenoException a
Documentation
printExceptions :: ByteString -> [XenoException] -> IO () #
Print schema errors with excerpts
displayException :: ByteString -> XenoException -> ByteString #
getStartIndex :: ByteString -> Int #
failHere :: ByteString -> ByteString -> Either XenoException a #