Table of Contents

Method GetErrors

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

GetErrors(int)

Gets what went wrong in the app lately: the entries of its crash log (the exceptions nobody caught, with the command that ran) and the requests it could not answer for a fault of its own. Nothing is changed.

public CadRemoteErrors GetErrors(int count = 10)

Parameters

count int

The most of each to give, from 1 to 1000.

Returns

CadRemoteErrors

The crash log and the failed requests, the newest first.

Exceptions

ArgumentOutOfRangeException

Thrown when the count is not from 1 to 1000.

CadRemoteException

Thrown when the app is of a version that does not know the request.