Table of Contents

Enum ErrorCode

Namespace
WhalesSecret.TradeScriptLib.API.ExternalV1
Assembly
WhalesSecret.TradeScriptLib.dll

Possible types of errors that may occur while trying to obtain data from external source of data.

public enum ErrorCode
Extension Methods

Fields

Cancelled = 0

Operation has been cancelled. This includes termination during shutdown.

RequestFailed = 1

Attempt to download data from the external source failed due to an underlying issue such as network connectivity, DNS failure, server certificate validation etc.

InvalidExternalPayload = 2

JWT token was valid, but its payload for the trade script was not valid.

InvalidJwt = 3

JWT token was invalid. This may be caused by the signature being invalid, the token having wrong structure, or the signature being created by different issuer than expected.