cardano-cli
Safe HaskellNone
LanguageHaskell2010

Cardano.CLI.Types.Errors.DebugCmdError

Documentation

data DebugCmdError Source #

Constructors

DebugCmdFailed 
DebugNodeConfigGenesisDataCmdError !FilePath !GenesisDataError

DebugNodeConfigGenesisDataCmdError filepath error represents an error when reading the node configuration at filepath

DebugNodeConfigWrongGenesisHashCmdError

DebugNodeConfigWrongGenesisHashCmdError filepath eraGenesisPath actualHash expectedHash represents a user error that the hash of eraGenesisPath in filepath is actualHash, whereas it should be expectedHash

Fields

  • !FilePath

    The file path of the node configuration file

  • !FilePath

    The file path of the era configuration file whose hash is wrong

  • !Text

    The actual hash (the hash found by hashing the genesis file)

  • !Text

    The expected hash (the hash mentioned in the configuration file)

DebugNodeConfigNoConwayFileCmdError !FilePath

DebugNodeConfigNoConwayFileCmdError filepath represents a user error that the genesis file for Conway in filepath is not specified

DebugNodeConfigNoConwayHashCmdError

DebugNodeConfigNoConwayHashCmdError filepath represents a user error that the hash for the Conway genesis file in filepath is not specified

Fields

  • !FilePath

    The file path of the node configuration file

DebugTxCmdError !TxCmdError 

Instances

Instances details
Error DebugCmdError Source # 
Instance details

Defined in Cardano.CLI.Types.Errors.DebugCmdError

Methods

prettyError :: DebugCmdError -> Doc ann #