| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.CLI.Environment
Synopsis
Documentation
newtype EnvSocketError Source #
Constructors
| CliEnvVarLookup Text |
Instances
| Show EnvSocketError Source # | |
Defined in Cardano.CLI.Environment Methods showsPrec :: Int -> EnvSocketError -> ShowS # show :: EnvSocketError -> String # showList :: [EnvSocketError] -> ShowS # | |
readEnvSocketPath :: ExceptT EnvSocketError IO SocketPath Source #
Read the node socket path from the environment. Fails if the environment variable is not set.