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
-
IMessage<DryRunErrorResponse>IDeepCloneable<DryRunErrorResponse>IBufferMessageIMessage
- 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
AmountOverLimitFieldNumber
Field number for the "amount_over_limit" field.
public const int AmountOverLimitFieldNumber = 5
Field Value
BalanceInsufficientFieldNumber
Field number for the "balance_insufficient" field.
public const int BalanceInsufficientFieldNumber = 6
Field Value
BlockNotFoundFieldNumber
Field number for the "block_not_found" field.
public const int BlockNotFoundFieldNumber = 2
Field Value
EnergyInsufficientFieldNumber
Field number for the "energy_insufficient" field.
public const int EnergyInsufficientFieldNumber = 8
Field Value
InstanceNotFoundFieldNumber
Field number for the "instance_not_found" field.
public const int InstanceNotFoundFieldNumber = 4
Field Value
InvokeFailedFieldNumber
Field number for the "invoke_failed" field.
public const int InvokeFailedFieldNumber = 9
Field Value
NoStateFieldNumber
Field number for the "no_state" field.
public const int NoStateFieldNumber = 1
Field Value
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
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
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
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
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
ErrorCase
public DryRunErrorResponse.ErrorOneofCase ErrorCase { get; }
Property Value
InstanceNotFound
The specified instance was not found. Response to 'get_instance_info'.
public DryRunErrorResponse.Types.InstanceNotFound InstanceNotFound { get; set; }
Property Value
InvokeFailed
The contract invocation failed. Response to 'invoke_instance'.
public DryRunErrorResponse.Types.InvokeFailure InvokeFailed { get; set; }
Property Value
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
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
DryRunErrorResponseAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object other)
Parameters
other
object
Returns
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
CodedOutputStreamCoded output stream to write the data to. Must not be null.