Table of Contents

Enum ErrorHandlingMode

Namespace
RDCore.SDK.Runtime.Shared
Assembly
RDCore.SDK.dll

An activation's current error-handling policy (MS-VBAL §5.4.4).

public enum ErrorHandlingMode

Fields

Disabled = 0

No handler is active — an InstructionKind's Error outcome propagates out of the activation unchanged. The policy every activation starts with, and the one an On Error GoTo handler's own catch resets to.

GoTo = 2

On Error GoTo <label>: an error branches to HandlerTarget. Catching one resets the policy to Disabled — a second, unhandled error inside the handler body itself propagates rather than re-entering the same handler.

ResumeNext = 1

On Error Resume Next: an error is caught silently and execution continues with the statement right after the one that raised it. Unlike GoTo, catching one does not reset the policy — every later error in the same activation is caught the same way.