CreateExceptionReturn(Exception) Method

Definition

Namespace Stunts
Assembly Stunts.dll

Creates a method invocation return that represents a thrown exception.

IMethodReturn CreateExceptionReturn(Exception exception)

Parameters

exception
Exception

The exception to throw from the method invocation.

Returns

IMethodReturn
The IMethodReturn for the current invocation.