PoolingException

Description

sealed class Tinman.Core.Threading.Pooling.PoolingException

Derived from

TinmanException

Exception for errors that have occurred in background tasks.

TinmanError.ErrorCause of TinmanException.ErrorInfo will always contain a single element, which describes the error that has caused the background task to fail, see TaskFailure.

Public / Constructors

Task­Has­Failed


public static method TaskHasFailed → (3)

source in : string @ Tag

The error source tag.

name in : string

Optional name of the task that has failed.

error in : TinmanError

The error that has causes the background task to fail.

returns → PoolingException

The ready-to-throw exception.

A background task has failed with an exception.

Public / Attributes

Task­Failure


[Constant]
public attribute TaskFailure → (get)

value : TinmanError

[not-null]
The task error.

Returns the error that has caused the background task to fail.