Class RenderRecord.ActionError
Represents a failed action render/unrender event.
Inherited Members
Namespace: Libplanet.Blockchain.Renderers.Debug
Assembly: Libplanet.dll
Syntax
public class ActionError : RenderRecord.ActionBase
Constructors
| Improve this Doc View SourceActionError(Int64, String, IValue, ICommittedActionContext, Exception, Boolean)
Creates a failed action render/unrender event record.
Declaration
public ActionError(long index, string stackTrace, IValue action, ICommittedActionContext context, Exception exception, bool unrender = false)
Parameters
Type | Name | Description |
---|---|---|
Int64 | index | The ordinal number of the render event. |
String | stackTrace | The stack trace of the render event. |
Bencodex.Types.IValue | action | The rendered action. |
ICommittedActionContext | context | The action evaluation context. |
Exception | exception | The exception thrown by the action. |
Boolean | unrender | Whether it is an unrender event. |
Properties
| Improve this Doc View SourceException
The exception thrown by the action.
Declaration
public Exception Exception { get; }
Property Value
Type | Description |
---|---|
Exception |
Methods
| Improve this Doc View SourceToString()
Represents a failed action render/unrender event.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |