Skip to content

Opensearch dashboards.routevalidationerror. constructor

Home > opensearch-dashboards > RouteValidationError > (constructor)

RouteValidationError.(constructor)

Constructs a new instance of the RouteValidationError class

Signature:

constructor(error: Error | string, path?: string[]);

Parameters

Parameter Type Description
error Error | string
path string[]