Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
configureCustomErrors(custom: ICustomErrorComponentConfigurator) {
// by default configure page for 404 errors
custom.addError(ErrorCategory.HttpClientError, HttpStatusCode.NotFound, ObjectNotFoundErrorComponent);
}
}