Skip to main content

GrpcSimulatedExecutionError

Namespace: IotaSdk

An error that occurred during the simulated execution of a transaction.

public record class GrpcSimulatedExecutionError : System.IDisposable, System.IEquatable`1[[IotaSdk.GrpcSimulatedExecutionError, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance Object → GrpcSimulatedExecutionError
Implements IDisposable, IEquatable<GrpcSimulatedExecutionError>
Attributes NullableContextAttribute, NullableAttribute

Properties​

Error​

The kind of execution error.

public ExecutionError? Error { get; init; }

Property Value​

ExecutionError

Source​

The error source as a string.

public string? Source { get; init; }

Property Value​

String

CommandIndex​

The index of the command that failed.

public ulong? CommandIndex { get; init; }

Property Value​

UInt64?

Constructors​

GrpcSimulatedExecutionError(ExecutionError, String, UInt64?)​

An error that occurred during the simulated execution of a transaction.

public GrpcSimulatedExecutionError(ExecutionError? Error, string? Source, ulong? CommandIndex)

Parameters​

Error ExecutionError?
The kind of execution error.

Source String?
The error source as a string.

CommandIndex UInt64?
The index of the command that failed.

Methods​

Dispose()​

public void Dispose()