Table of Contents

Class DryRunErrorResponse

Namespace
Concordium.Grpc.V2
Assembly
Concordium.Sdk.dll
public sealed class DryRunErrorResponse : IMessage<DryRunErrorResponse>, IEquatable<DryRunErrorResponse>, IDeepCloneable<DryRunErrorResponse>, IBufferMessage, IMessage
Inheritance
DryRunErrorResponse
Implements
IDeepCloneable<DryRunErrorResponse>
IBufferMessage
IMessage
Inherited Members

Constructors

DryRunErrorResponse()

public DryRunErrorResponse()

DryRunErrorResponse(DryRunErrorResponse)

public DryRunErrorResponse(DryRunErrorResponse other)

Parameters

other DryRunErrorResponse

Fields

AccountNotFoundFieldNumber

Field number for the "account_not_found" field.

public const int AccountNotFoundFieldNumber = 3

Field Value

int

AmountOverLimitFieldNumber

Field number for the "amount_over_limit" field.

public const int AmountOverLimitFieldNumber = 5

Field Value

int

BalanceInsufficientFieldNumber

Field number for the "balance_insufficient" field.

public const int BalanceInsufficientFieldNumber = 6

Field Value

int

BlockNotFoundFieldNumber

Field number for the "block_not_found" field.

public const int BlockNotFoundFieldNumber = 2

Field Value

int

EnergyInsufficientFieldNumber

Field number for the "energy_insufficient" field.

public const int EnergyInsufficientFieldNumber = 8

Field Value

int

InstanceNotFoundFieldNumber

Field number for the "instance_not_found" field.

public const int InstanceNotFoundFieldNumber = 4

Field Value

int

InvokeFailedFieldNumber

Field number for the "invoke_failed" field.

public const int InvokeFailedFieldNumber = 9

Field Value

int

NoStateFieldNumber

Field number for the "no_state" field.

public const int NoStateFieldNumber = 1

Field Value

int

Properties

AccountNotFound

The specified account was not found. Response to 'get_account_info', 'mint_to_account' and 'run_transaction'.

public DryRunErrorResponse.Types.AccountNotFound AccountNotFound { get; set; }

Property Value

DryRunErrorResponse.Types.AccountNotFound

AmountOverLimit

The amount to mint would overflow the total CCD supply. Response to 'mint_to_account'.

public DryRunErrorResponse.Types.AmountOverLimit AmountOverLimit { get; set; }

Property Value

DryRunErrorResponse.Types.AmountOverLimit

BalanceInsufficient

The balance of the sender account is not sufficient to pay for the operation. Response to 'run_transaction'.

public DryRunErrorResponse.Types.BalanceInsufficient BalanceInsufficient { get; set; }

Property Value

DryRunErrorResponse.Types.BalanceInsufficient

BlockNotFound

The requested block was not found, so its state could not be loaded. Response to 'load_block_state'.

public DryRunErrorResponse.Types.BlockNotFound BlockNotFound { get; set; }

Property Value

DryRunErrorResponse.Types.BlockNotFound

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

EnergyInsufficient

The energy supplied for the transaction was not sufficient to perform the basic checks. Response to 'run_transaction'.

public DryRunErrorResponse.Types.EnergyInsufficient EnergyInsufficient { get; set; }

Property Value

DryRunErrorResponse.Types.EnergyInsufficient

ErrorCase

public DryRunErrorResponse.ErrorOneofCase ErrorCase { get; }

Property Value

DryRunErrorResponse.ErrorOneofCase

InstanceNotFound

The specified instance was not found. Response to 'get_instance_info'.

public DryRunErrorResponse.Types.InstanceNotFound InstanceNotFound { get; set; }

Property Value

DryRunErrorResponse.Types.InstanceNotFound

InvokeFailed

The contract invocation failed. Response to 'invoke_instance'.

public DryRunErrorResponse.Types.InvokeFailure InvokeFailed { get; set; }

Property Value

DryRunErrorResponse.Types.InvokeFailure

NoState

The current block state is undefined. It should be initialized with a 'load_block_state' request before any other operations.

public DryRunErrorResponse.Types.NoState NoState { get; set; }

Property Value

DryRunErrorResponse.Types.NoState

Parser

public static MessageParser<DryRunErrorResponse> Parser { get; }

Property Value

MessageParser<DryRunErrorResponse>

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

ClearError()

public void ClearError()

Clone()

Creates a deep clone of this object.

public DryRunErrorResponse Clone()

Returns

DryRunErrorResponse

A deep clone of this object.

Equals(DryRunErrorResponse)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(DryRunErrorResponse other)

Parameters

other DryRunErrorResponse

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object other)

Parameters

other object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

MergeFrom(DryRunErrorResponse)

Merges the given message into this one.

public void MergeFrom(DryRunErrorResponse other)

Parameters

other DryRunErrorResponse

Remarks

See the user guide for precise merge semantics.

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.