Skip to content

API Reference / @gtkx/testing / MultipleErrorBuilder

Type Alias: MultipleErrorBuilder<Args>

MultipleErrorBuilder<Args> = (container, matches, ...args) => Error

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

Builds the error thrown when a single-match query finds more than one widget.

Type Parameters

Args

Args extends unknown[]

Parameters

container

Container

matches

Gtk.Widget[]

args

...Args

Returns

Error

Released under the MPL-2.0 License.