bcc-api-1.99.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Bcc.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 Bcc.Api.Error

Methods

displayError ∷ () → String Source #

Error JsonDecodeError Source # 
Instance details

Defined in Bcc.Api.SerialiseJSON

Error TextEnvelopeError Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

Error TxMetadataJsonSchemaError Source # 
Instance details

Defined in Bcc.Api.TxMetadata

Error TxMetadataJsonError Source # 
Instance details

Defined in Bcc.Api.TxMetadata

Error TxMetadataRangeError Source # 
Instance details

Defined in Bcc.Api.TxMetadata

Error Bech32DecodeError Source # 
Instance details

Defined in Bcc.Api.SerialiseBech32

Error ScriptDataJsonSchemaError Source # 
Instance details

Defined in Bcc.Api.ScriptData

Error ScriptDataJsonError Source # 
Instance details

Defined in Bcc.Api.ScriptData

Error ScriptDataRangeError Source # 
Instance details

Defined in Bcc.Api.ScriptData

Error StakePoolMetadataValidationError Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

Error ProtocolParametersError Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Error TxBodyError Source # 
Instance details

Defined in Bcc.Api.TxBody

Error OperationalCertIssueError Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

Error MinimumUTxOError Source # 
Instance details

Defined in Bcc.Api.Fees

Error TxBodyErrorAutoBalance Source # 
Instance details

Defined in Bcc.Api.Fees

Error TransactionValidityIntervalError Source # 
Instance details

Defined in Bcc.Api.Fees

Error ScriptExecutionError Source # 
Instance details

Defined in Bcc.Api.Fees

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

Defined in Bcc.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 Bcc.Api.Error

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

Defined in Bcc.Api.Error