ZMWSLI0-SL2021-GR11/Projekt/MWSProjekt/Library/PackageCache/com.unity.test-framework@1.1.24/Documentation~/reference-ierror-callbacks.md

10 lines
553 B
Markdown
Raw Permalink Normal View History

2021-07-05 21:20:56 +02:00
# 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. |