angular/packages/common/http/src/errors.ts
Joey Perrott 03ac3c299d refactor: update license text to point to angular.dev (#57902)
Update license text to point to angular.dev instead of angular.io

PR Close #57902
2024-09-24 15:28:46 +02:00

19 lines
568 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.dev/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,
NOT_USING_FETCH_BACKEND_IN_SSR = 2801,
HEADERS_ALTERED_BY_TRANSFER_CACHE = 2802,
HTTP_ORIGIN_MAP_USED_IN_CLIENT = 2803,
HTTP_ORIGIN_MAP_CONTAINS_PATH = 2804,
}