cardano-api-1.30.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Api.Error

Description

Class of errors used in the Api.

Synopsis

Documentation

class Show e ⇒ Error e where Source #

Methods

displayError ∷ e → String Source #

Instances

Instances details
Error () Source # 
Instance details

Defined in Cardano.Api.Error

Methods

displayError ∷ () → String Source #

Error JsonDecodeError Source # 
Instance details

Defined in Cardano.Api.SerialiseJSON

Error TextEnvelopeError Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Error TxMetadataJsonSchemaError Source # 
Instance details

Defined in Cardano.Api.TxMetadata

Error TxMetadataJsonError Source # 
Instance details

Defined in Cardano.Api.TxMetadata

Error TxMetadataRangeError Source # 
Instance details

Defined in Cardano.Api.TxMetadata

Error Bech32DecodeError Source # 
Instance details

Defined in Cardano.Api.SerialiseBech32

Error ScriptDataJsonSchemaError Source # 
Instance details

Defined in Cardano.Api.ScriptData

Error ScriptDataJsonError Source # 
Instance details

Defined in Cardano.Api.ScriptData

Error ScriptDataRangeError Source # 
Instance details

Defined in Cardano.Api.ScriptData

Error StakePoolMetadataValidationError Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Error ProtocolParametersError Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Error TxBodyError Source # 
Instance details

Defined in Cardano.Api.TxBody

Error OperationalCertIssueError Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

Error MinimumUTxOError Source # 
Instance details

Defined in Cardano.Api.Fees

Error TxBodyErrorAutoBalance Source # 
Instance details

Defined in Cardano.Api.Fees

Error TransactionValidityIntervalError Source # 
Instance details

Defined in Cardano.Api.Fees

Error ScriptExecutionError Source # 
Instance details

Defined in Cardano.Api.Fees

Error e ⇒ Error (FileError e) Source # 
Instance details

Defined in Cardano.Api.Error

throwErrorAsExceptionError e ⇒ e → IO a Source #

The preferred approach is to use Except or ExceptT, but you can if necessary use IO exceptions.

data FileError e Source #

Instances

Instances details
Show e ⇒ Show (FileError e) Source # 
Instance details

Defined in Cardano.Api.Error

Error e ⇒ Error (FileError e) Source # 
Instance details

Defined in Cardano.Api.Error