Click or drag to resize

ErrorFromException Method

Gets the error associated with the exception or creates one.

Namespace: WinWrap.Basic.Server
Assembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntax
public static IError FromException(
	Exception ex
)

Parameters

ex  Exception
Get the error associated with the exception or create one.

Return Value

IError
An exception caused by a Module method call.
Remarks
Module method calls can throw exceptions. When that happens, the Error object for the exception can be retrieved using FromException.
Example
Gets the error associated with the exception or creates one.
See Also