mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
dd3e0968ec
This custom error message for invalid guards requires a fair bit of extra logic in several places. This change reduces special logic for an error case that would fail anyways. Additionally, there were already a couple places that _did not_ have this special error and we have not seen any indication that there is more confusion for those (resolvers and canMatch). PR Close #46678
44 lines
1.1 KiB
Markdown
44 lines
1.1 KiB
Markdown
## 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)
|
|
EMPTY_PATH_WITH_PARAMS = 4009,
|
|
// (undocumented)
|
|
FOR_ROOT_CALLED_TWICE = 4007,
|
|
// (undocumented)
|
|
INVALID_DOUBLE_DOTS = 4005,
|
|
// (undocumented)
|
|
INVALID_ROUTE_CONFIG = 4014,
|
|
// (undocumented)
|
|
MISPLACED_OUTLETS_COMMAND = 4004,
|
|
// (undocumented)
|
|
MISSING_REDIRECT = 4001,
|
|
// (undocumented)
|
|
NAMED_OUTLET_REDIRECT = 4000,
|
|
// (undocumented)
|
|
NO_MATCH = 4002,
|
|
// (undocumented)
|
|
NULLISH_COMMAND = 4008,
|
|
// (undocumented)
|
|
OUTLET_ALREADY_ACTIVATED = 4013,
|
|
// (undocumented)
|
|
OUTLET_NOT_ACTIVATED = 4012,
|
|
// (undocumented)
|
|
ROOT_SEGMENT_MATRIX_PARAMS = 4003,
|
|
// (undocumented)
|
|
TWO_SEGMENTS_WITH_SAME_OUTLET = 4006,
|
|
// (undocumented)
|
|
UNEXPECTED_VALUE_IN_URL = 4011,
|
|
// (undocumented)
|
|
UNPARSABLE_URL = 4010
|
|
}
|
|
|
|
// (No @packageDocumentation comment for this package)
|
|
|
|
```
|