Table of Contents

Enum SchemaJsonResult

Namespace
Concordium.Sdk.Interop
Assembly
Concordium.Sdk.dll

Result type which on errors hold error type information.

public enum SchemaJsonResult : ushort

Fields

FromJsonError = 19

Represents errors occurring while converting from the schema JSON format.

JsonError = 1

Represents errors occurring while converting to the schema JSON format.

NoError = 0

No error

ParseSchemaType = 20

Represents errors occurring parsing a smart contract schema type.

SerdeJsonError = 2

This type represents all possible errors that can occur when serializing or deserializing JSON data.

Utf8Error = 3

Errors which can occur when attempting to interpret a sequence of bytes as a string.

VersionedSchemaErrorErrorNotSupported = 14

Versioned Schema Error - Errors not supported for this module version

VersionedSchemaErrorEventNotSupported = 18

Versioned Schema Error - Events not supported for this module version

VersionedSchemaErrorInvalidSchemaVersion = 6

Versioned Schema Error - Invalid Schema Version

VersionedSchemaErrorMissingSchemaVersion = 5

Versioned Schema Error - Missing Schema Version

VersionedSchemaErrorNoContractInModule = 7

Versioned Schema Error - No Contract In Module

VersionedSchemaErrorNoErrorInInit = 13

Versioned Schema Error - Init function schema does not contain an error schema

VersionedSchemaErrorNoErrorInReceive = 12

Versioned Schema Error - Receive function schema not found in contract schema

VersionedSchemaErrorNoEventInContract = 17

Versioned Schema Error - Event schema not found in contract schema

VersionedSchemaErrorNoInitInContract = 9

Versioned Schema Error - Init function schema not found in contract schema

VersionedSchemaErrorNoParamsInInit = 11

Versioned Schema Error - Init function schema does not contain a parameter schema

VersionedSchemaErrorNoParamsInReceive = 10

Versioned Schema Error - Receive function schema does not contain a parameter schema

VersionedSchemaErrorNoReceiveInContract = 8

Versioned Schema Error - Receive function schema not found in contract schema

VersionedSchemaErrorNoReturnValueInReceive = 15

Versioned Schema Error - Receive function schema has no return value schema

VersionedSchemaErrorParseError = 4

Versioned Schema Error - Parse error

VersionedSchemaErrorReturnValueNotSupported = 16

Versioned Schema Error - Return values not supported for this module version