Copyright | © 2018-2021 IOHK |
---|---|
License | Apache-2.0 |
Safe Haskell | None |
Language | Haskell2010 |
Utility functions for internal use of the library.
Documentation
newtype WithErrorMessage e Source #
Instances
(Exception e, Generic e, GToJSON Zero (Rep e)) => ToJSON (WithErrorMessage e) Source # | |
Defined in Cardano.Address.Internal toJSON :: WithErrorMessage e -> Value toEncoding :: WithErrorMessage e -> Encoding toJSONList :: [WithErrorMessage e] -> Value toEncodingList :: [WithErrorMessage e] -> Encoding |
data DeserialiseFailure #
DeserialiseFailure ByteOffset String |
Instances
Eq DeserialiseFailure | |
Defined in Codec.CBOR.Read (==) :: DeserialiseFailure -> DeserialiseFailure -> Bool # (/=) :: DeserialiseFailure -> DeserialiseFailure -> Bool # | |
Show DeserialiseFailure | |
Defined in Codec.CBOR.Read showsPrec :: Int -> DeserialiseFailure -> ShowS # show :: DeserialiseFailure -> String # showList :: [DeserialiseFailure] -> ShowS # | |
Exception DeserialiseFailure | |
Defined in Codec.CBOR.Read | |
NFData DeserialiseFailure | |
Defined in Codec.CBOR.Read rnf :: DeserialiseFailure -> () # | |
ToJSON DeserialiseFailure | |
Defined in Cardano.Address.Internal toJSON :: DeserialiseFailure -> Value toEncoding :: DeserialiseFailure -> Encoding toJSONList :: [DeserialiseFailure] -> Value toEncodingList :: [DeserialiseFailure] -> Encoding |
Orphan instances
ToJSON DeserialiseFailure Source # | |
toJSON :: DeserialiseFailure -> Value toEncoding :: DeserialiseFailure -> Encoding toJSONList :: [DeserialiseFailure] -> Value toEncodingList :: [DeserialiseFailure] -> Encoding |