fix(core): link errors to ADEV (#55554) (#56038)

Console error links will now point to adev.

PR Close #55554

PR Close #56038
This commit is contained in:
Matthieu Riegler
2024-04-26 01:10:52 +02:00
committed by Pawel Kozlowski
parent e39c01a53f
commit b2445a0953
17 changed files with 30 additions and 30 deletions
@@ -64,7 +64,7 @@ describe('NgModule', () => {
expect(() => createInjector(AModule)).toThrowError(
'NG0200: Circular dependency in DI detected for AModule. ' +
'Dependency path: AModule > BModule > AModule. ' +
'Find more at https://angular.io/errors/NG0200',
'Find more at https://angular.dev/errors/NG0200',
);
});
@@ -10,7 +10,7 @@ import {ErrorCode} from './error_code';
/**
* Contains a set of error messages that have detailed guides at angular.io.
* Full list of available error guides can be found at https://angular.io/errors
* Full list of available error guides can be found at https://angular.dev/errors
*/
export const COMPILER_ERRORS_WITH_GUIDES = new Set([
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
@@ -13,4 +13,4 @@
* - packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.ts
* - packages/core/src/error_details_base_url.ts
*/
export const ERROR_DETAILS_PAGE_BASE_URL = 'https://angular.io/errors';
export const ERROR_DETAILS_PAGE_BASE_URL = 'https://angular.dev/errors';