Skip to content

API Reference / @gtkx/testing / MissingErrorBuilder

Type Alias: MissingErrorBuilder<Args> ​

MissingErrorBuilder<Args> = (container, ...args) => Error

Defined in: packages/testing/dist/build-queries.d.ts:12

Builds the error thrown when a query that requires a match finds none.

Type Parameters ​

Args ​

Args extends unknown[]

Parameters ​

container ​

Container

args ​

...Args

Returns ​

Error

Released under the MPL-2.0 License.