Skip to content

QueryController.displayError method

QueryController › displayError

Unofficial

Displays an error in place of the view.

Signature:

displayError(type: string, error: Error): void

Parameters:

Parameter Type Description
type string The error category (e.g. 'query' or 'view').
error Error The error to display.

Returns: void