angular/goldens/public-api/common/http/errors.api.md
arturovt b7dd0483d0 refactor(common): drop error messages in production (#59545)
Switches to using `RuntimeError` and drops error messages in production by replacing it with an error code.

PR Close #59545
2025-01-28 09:39:42 +01:00

33 lines
894 B
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)
CANNOT_SPECIFY_BOTH_FROM_STRING_AND_FROM_OBJECT = 2805,
// (undocumented)
HEADERS_ALTERED_BY_TRANSFER_CACHE = 2802,
// (undocumented)
HTTP_ORIGIN_MAP_CONTAINS_PATH = 2804,
// (undocumented)
HTTP_ORIGIN_MAP_USED_IN_CLIENT = 2803,
// (undocumented)
MISSING_JSONP_MODULE = -2800,
// (undocumented)
NOT_USING_FETCH_BACKEND_IN_SSR = 2801,
// (undocumented)
RESPONSE_IS_NOT_A_BLOB = 2807,
// (undocumented)
RESPONSE_IS_NOT_A_STRING = 2808,
// (undocumented)
RESPONSE_IS_NOT_AN_ARRAY_BUFFER = 2806,
// (undocumented)
UNHANDLED_OBSERVE_TYPE = 2809
}
// (No @packageDocumentation comment for this package)
```