Type alias: SubmitClassification
SubmitClassification =
SubmitStatus|"rejected"|"unconfirmed"
How a raw gateway envelope classifies:
'executed':error === falseanddata.mode === 'sync'(the executed result came back).'queued':error === false,data.mode === 'queued'anddata.uniqueKeyis a string.'rejected': no envelope at all, orerror === true: a DEFINITE failure.'unconfirmed': anything else (error: falsewith another or nomode, a queued answer with nouniqueKey, an envelope with no booleanerror): accepted, outcome not known. It is NOT a rejection and must not be shown as one.
The four are mutually exclusive and exhaustive.
submit status unique key