Table of Contents

Class ModuleLoadFailures

Namespace
RDCore.SDK.Workspace
Assembly
RDCore.SDK.dll

What each module's last load failed with, so that what is said of a load is said once: a module that fails to load as it failed the last time - an editor sends a module to load again at every edit - is not reported again, and one that loads after it failed is reported once to load again.

public sealed class ModuleLoadFailures
Inheritance
ModuleLoadFailures
Inherited Members

Remarks

A module is known by the key its component gives it, without regard to case - the language server keys a module by its address, and a shell's program apart from the module of the workspace that has its name; a failure, by its errors in the order they were reported. Each component that loads modules and logs their failures - the environment host, the language server that sends them - keeps one of these for each session it loads them in, so that a session composed anew reports each failure again.

Methods

Record(string, IReadOnlyList<string>)

Records what a load of module ended with, and says what of it is news.

public ModuleLoadChange Record(string module, IReadOnlyList<string> errors)

Parameters

module string

The key of the module.

errors IReadOnlyList<string>

What the load failed with; empty when the module loaded.

Returns

ModuleLoadChange