TradeReason
enum TradeReason
Error reason for trade.
-
The traded tweak is not live in any context.
Declaration
Swift
case contextNotFound
-
The json data is corrupted, due to
inner
.Declaration
Swift
case corruptedData(inner: Error)
-
The import source has unsupported version.
Declaration
Swift
case unsupportedVersion(expected: Int, current: Int)
-
Failed to receive json data from source.
Declaration
Swift
case sourceFailure(inner: Error)
-
Failed to send json data to source.
Declaration
Swift
case destinationFailure(inner: Error)
-
The trade value cannot be unmarshalled.
Declaration
Swift
case unmarshalFailure
-
The trade value is unmarshalled successfully but can’t pass the validation.
Declaration
Swift
case unmarshaledValidationFailure