cardano-addresses-3.12.0: Library utilities for mnemonic generation and address derivation.
Copyright© 2018-2021 IOHK
LicenseApache-2.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Address.Internal

Description

Utility functions for internal use of the library.

Documentation

orElse :: Either e a -> Either e a -> Either e a Source #

newtype WithErrorMessage e Source #

Constructors

WithErrorMessage 

Fields

Instances

Instances details
(Exception e, Generic e, GToJSON Zero (Rep e)) => ToJSON (WithErrorMessage e) Source # 
Instance details

Defined in Cardano.Address.Internal

Methods

toJSON :: WithErrorMessage e -> Value

toEncoding :: WithErrorMessage e -> Encoding

toJSONList :: [WithErrorMessage e] -> Value

toEncodingList :: [WithErrorMessage e] -> Encoding

Orphan instances

ToJSON DeserialiseFailure Source # 
Instance details