Table of Contents

Class ProgramErrorArgument

Namespace
RDCore.SDK.Runtime.Hosting
Assembly
RDCore.SDK.dll

An argument of the OnError hook that passes a part of the error the procedure left unhandled: its number (Err.Number) as a JSON number, or its description (Err.Description) as a JSON string. The value converts to the parameter's declared type as the value of a ProgramValueArgument does.

public sealed record ProgramErrorArgument : ProgramArgument, IEquatable<ProgramArgument>, IEquatable<ProgramErrorArgument>
Inheritance
ProgramErrorArgument
Implements
Inherited Members

Constructors

ProgramErrorArgument(string, ProgramErrorPart)

An argument of the OnError hook that passes a part of the error the procedure left unhandled: its number (Err.Number) as a JSON number, or its description (Err.Description) as a JSON string. The value converts to the parameter's declared type as the value of a ProgramValueArgument does.

public ProgramErrorArgument(string Parameter, ProgramErrorPart Part)

Parameters

Parameter string

The name of the parameter the argument is passed to.

Part ProgramErrorPart

The part of the error it passes.

Properties

Part

The part of the error it passes.

public ProgramErrorPart Part { get; init; }

Property Value

ProgramErrorPart