Module

Ctl.Internal.BalanceTx.Error

Definitions for error types that may arise during transaction balancing, along with helpers for parsing and pretty-printing script evaluation errors that may be returned from Ogmios when calculating ex units.

#Actual

newtype Actual

Constructors

Instances

#Expected

#printTxEvaluationFailure

printTxEvaluationFailure :: Transaction -> TxEvaluationFailure -> String

Pretty print the failure response from Ogmios's EvaluateTx endpoint. Exported to allow testing, use Test.Ogmios.Aeson.printEvaluateTxFailures to visually verify the printing of errors without a context on fixtures.

#explainBalanceTxError

Modules