summaryrefslogtreecommitdiff
path: root/Library/PackageCache/com.unity.test-framework@1.1.11/Documentation~/reference-ierror-callbacks.md
blob: 692416409428abc2671171fa06c2bcee8d6e79e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
# IErrorCallbacks
An extended version of the [ICallbacks](./reference-icallbacks.md), which get invoked if the test run fails due to a build error or if any [IPrebuildSetup](./reference-setup-and-cleanup.md) has a failure.

## Public methods

| Syntax                       | Description                                                         |
| ---------------------------- | ------------------------------------------------------------------- |
| void OnError(string message) | The error message detailing the reason for the run to fail.         |