mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit provides a tree shakable error message (+doc) when JSONP request is made without loading the `HttpClientJsonpModule`. PR Close #50376
15 lines
401 B
TypeScript
15 lines
401 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
|
|
/**
|
|
* The list of error codes used in runtime code of the `common/http` package.
|
|
* Reserved error code range: 2800-2899.
|
|
*/
|
|
export const enum RuntimeErrorCode {
|
|
MISSING_JSONP_MODULE = -2800,
|
|
}
|