| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Capnp.Errors
Description
Synopsis
Documentation
An error that may occur when processing a capnproto message.
Constructors
| BoundsError | A |
| RecursionLimitError | A |
| TraversalLimitError | A |
| InvalidDataError String | An |
| SizeError | A |
| SchemaViolationError String | A |
| InvalidUtf8Error UnicodeException | An Note well: Most parts of the library don't actually check for valid utf8 -- don't assume the check is made unless an interface says it is. |
Instances
| Eq Error Source # | |
| Show Error Source # | |
| Exception Error Source # | |
Defined in Capnp.Errors Methods toException :: Error -> SomeException # fromException :: SomeException -> Maybe Error # displayException :: Error -> String # | |