Skip to content

TestFilterException

Namespace: E2E

public class TestFilterException : Exception, ISerializable

What a filter throws when it cannot finish but still knows how likely some tests are to fail, such as the ones the change touches. .NET-only: upstream reads a relevance property off whatever the filter throws, which C# has no way to name without a type.

Inheritance: object → Exception

Implements: ISerializable

View source

public TestFilterException()

Creates the exception.

public TestFilterException(string message)

Creates the exception with a message.

Parameters

Name Type Description
message string

public TestFilterException(string message, Exception innerException)

Creates the exception with a message and the exception that caused it.

Parameters

Name Type Description
message string
innerException Exception

public virtual IReadOnlyDictionary<string, double>? Relevance { get; init; }

Shaped like Relevance; the run checks it as it checks a result’s. Null scores nothing.

Value: IReadOnlyDictionary<string, double>