Table of Contents

Throw Method

Throw(string, Exception?)

public static void Throw(string message, Exception? inner = null)

Throws a new FiberException with the specified message and optional inner exception.

Parameters

message string

The error message that explains the reason for the exception.

inner Exception

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.