| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Morley.Client.TezosClient.Types.Errors
Description
Various error types.
Synopsis
- data TezosClientError
- = UnexpectedClientFailure Int Text Text
- | AlreadyRevealed ImplicitAlias
- | InvalidOperationHash OperationHash
- | CounterIsAlreadyUsed Text Text
- | EConnreset
- | ConfigParseError String
- | TezosClientCryptoParseError Text CryptoParseError
- | TezosClientParseAddressError Text ParseAddressError
- | TezosClientParseFeeError Text Text
- | TezosClientUnexpectedOutputFormat Text
- | CantRevealContract ImplicitAlias
- | ContractSender ContractAddress Text
- | EmptyImplicitContract ImplicitAlias
- | TezosClientUnexpectedSignatureOutput Text
- | TezosClientParseEncryptionTypeError Text Text
- | DuplicateAlias Text
- | ResolveError ResolveError
- data ResolveError where
- REAliasNotFound :: Text -> ResolveError
- REWrongKind :: Alias expectedKind -> Address -> ResolveError
- REAddressNotFound :: KindedAddress kind -> ResolveError
- REAmbiguousAlias :: Text -> [L1Address] -> ResolveError
Documentation
data TezosClientError Source #
A data type for all predicatable errors that can happen during
octez-client usage.
Constructors
| UnexpectedClientFailure |
|
| AlreadyRevealed | Public key of the given address is already revealed. |
Fields
| |
| InvalidOperationHash OperationHash | Can't wait for inclusion of operation with given hash because the hash is invalid. |
| CounterIsAlreadyUsed | Error that indicates when given counter is already used for given contract. |
| EConnreset | Network error with which |
| ConfigParseError String | A parse error occurred during config parsing. |
| TezosClientCryptoParseError Text CryptoParseError |
|
| TezosClientParseAddressError Text ParseAddressError |
|
| TezosClientParseFeeError Text Text |
|
| TezosClientUnexpectedOutputFormat Text |
|
| CantRevealContract | Given alias is a contract and cannot be revealed. |
Fields
| |
| ContractSender ContractAddress Text | Given contract is a source of a transfer or origination operation. |
| EmptyImplicitContract | Given alias is an empty implicit contract. |
Fields
| |
| TezosClientUnexpectedSignatureOutput Text |
|
| TezosClientParseEncryptionTypeError Text Text |
|
| DuplicateAlias Text | Tried to save alias, but such alias already exists. |
| ResolveError ResolveError | |
Instances
| Exception TezosClientError Source # | |
Defined in Morley.Client.TezosClient.Types.Errors Methods toException :: TezosClientError -> SomeException # | |
| Show TezosClientError Source # | |
Defined in Morley.Client.TezosClient.Types.Errors Methods showsPrec :: Int -> TezosClientError -> ShowS # show :: TezosClientError -> String # showList :: [TezosClientError] -> ShowS # | |
| Buildable TezosClientError Source # | |
Defined in Morley.Client.TezosClient.Types.Errors | |
data ResolveError where Source #
Constructors
| REAliasNotFound | |
Fields
| |
| REWrongKind | |
Fields
| |
| REAddressNotFound | |
Fields
| |
| REAmbiguousAlias | |
Fields
| |
Instances
| Show ResolveError Source # | |
Defined in Morley.Client.TezosClient.Types.Errors Methods showsPrec :: Int -> ResolveError -> ShowS # show :: ResolveError -> String # showList :: [ResolveError] -> ShowS # | |
| Buildable ResolveError Source # | |
Defined in Morley.Client.TezosClient.Types.Errors | |