-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add golden files for runtime error codes (#44677)
Runtime error codes in the Core, Common and Forms packages were not included into the `public-api` group reviews. This commit creates the necessary golden files to keep track of further changes in the runtime codes. This is a followup from #44398 (comment). PR Close #44677
- Loading branch information
1 parent
07d97af
commit 74037f1
Showing
6 changed files
with
121 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## API Report File for "angular-srcs" | ||
|
||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). | ||
```ts | ||
|
||
// @public | ||
export const enum RuntimeErrorCode { | ||
// (undocumented) | ||
PARENT_NG_SWITCH_NOT_FOUND = 2000 | ||
} | ||
|
||
// (No @packageDocumentation comment for this package) | ||
|
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
## API Report File for "angular-srcs" | ||
|
||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). | ||
```ts | ||
|
||
// @public | ||
export function formatRuntimeError<T = RuntimeErrorCode>(code: T, message: string): string; | ||
|
||
// @public (undocumented) | ||
export class RuntimeError<T = RuntimeErrorCode> extends Error { | ||
constructor(code: T, message: string); | ||
// (undocumented) | ||
code: T; | ||
} | ||
|
||
// @public | ||
export const enum RuntimeErrorCode { | ||
// (undocumented) | ||
ALREADY_DESTROYED_PLATFORM = 404, | ||
// (undocumented) | ||
ASYNC_INITIALIZERS_STILL_RUNNING = 405, | ||
// (undocumented) | ||
BOOTSTRAP_COMPONENTS_NOT_FOUND = 403, | ||
// (undocumented) | ||
CYCLIC_DI_DEPENDENCY = -200, | ||
// (undocumented) | ||
ERROR_HANDLER_NOT_FOUND = 402, | ||
// (undocumented) | ||
EXPORT_NOT_FOUND = -301, | ||
// (undocumented) | ||
EXPRESSION_CHANGED_AFTER_CHECKED = -100, | ||
// (undocumented) | ||
MULTIPLE_COMPONENTS_MATCH = -300, | ||
// (undocumented) | ||
MULTIPLE_PLATFORMS = 400, | ||
// (undocumented) | ||
PIPE_NOT_FOUND = -302, | ||
// (undocumented) | ||
PLATFORM_NOT_FOUND = 401, | ||
// (undocumented) | ||
PROVIDER_NOT_FOUND = -201, | ||
// (undocumented) | ||
RECURSIVE_APPLICATION_REF_TICK = 101, | ||
// (undocumented) | ||
TEMPLATE_STRUCTURE_ERROR = 305, | ||
// (undocumented) | ||
UNKNOWN_BINDING = 303, | ||
// (undocumented) | ||
UNKNOWN_ELEMENT = 304 | ||
} | ||
|
||
// (No @packageDocumentation comment for this package) | ||
|
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## API Report File for "angular-srcs" | ||
|
||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). | ||
```ts | ||
|
||
// @public | ||
export const enum RuntimeErrorCode { | ||
// (undocumented) | ||
MISSING_CONTROL = 1001, | ||
// (undocumented) | ||
MISSING_CONTROL_VALUE = 1002, | ||
// (undocumented) | ||
NO_CONTROLS = 1000 | ||
} | ||
|
||
// (No @packageDocumentation comment for this package) | ||
|
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters