import { SchemaTypeError } from '@osd/config-schema' ; public export class RouteValidationError extends SchemaTypeError { constructor ( error , path = [ ] ) { super ( error , path ) ; Object . setPrototypeOf ( this , RouteValidationError . prototype ) ; } }