Team XSockets.NET

Error Handling

You can get information about eventual errors from that PluginFramework by using the AddErrorAction to register 1 or more actions to be called when an error occurs.


Let's create an error by trying to use an interface that is neither Exported or registered with the RegisterExport method.

The interface

public interface IDoNotExist{}

Register the action

Composable.AddErrorAction((err) =>

Ask for the module (will fire the error action)



Sequence contains no matching element

results matching ""

    No results matching ""