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