mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e43eb96341
Report unsupported style property binding values in development mode while preserving existing binding behavior. Unwrap trusted style values before appending unit suffixes and link NG0318 warnings to the corresponding error guide.
6.1 KiB
6.1 KiB
API Report File for "core_errors"
Do not edit this file. It is a report generated by API Extractor.
// @public
export function formatRuntimeError<T extends number = RuntimeErrorCode>(code: T, message: null | false | string): string;
// @public (undocumented)
export function formatRuntimeErrorCode<T extends number = RuntimeErrorCode>(code: T): string;
// @public
export class RuntimeError<T extends number = RuntimeErrorCode> extends Error {
constructor(code: T, message: null | false | string);
// (undocumented)
code: T;
}
// @public
export const enum RuntimeErrorCode {
// (undocumented)
ANIMATE_INVALID_VALUE = 650,
// (undocumented)
APPLICATION_REF_ALREADY_DESTROYED = 406,
// (undocumented)
ASSERTION_NOT_INSIDE_REACTIVE_CONTEXT = -602,
// (undocumented)
ASYNC_INITIALIZERS_STILL_RUNNING = 405,
// (undocumented)
BOOTSTRAP_COMPONENTS_NOT_FOUND = -403,
// (undocumented)
COMPONENT_ID_COLLISION = -912,
// (undocumented)
CYCLIC_DI_DEPENDENCY = -200,
// (undocumented)
DEF_TYPE_UNDEFINED = -919,
// (undocumented)
DEFER_IN_HMR_MODE = -751,
// (undocumented)
DEFER_LOADING_FAILED = -750,
// (undocumented)
DUPLICATE_DIRECTIVE = 309,
// (undocumented)
DUPLICATE_NG_MODULE_ID = 921,
// (undocumented)
EXPORT_NOT_FOUND = -301,
// (undocumented)
EXPRESSION_CHANGED_AFTER_CHECKED = -100,
// (undocumented)
EXTERNAL_RESOURCE_LOADING_FAILED = 918,
// (undocumented)
HOST_DIRECTIVE_COMPONENT = 310,
// (undocumented)
HOST_DIRECTIVE_CONFLICTING_ALIAS = 312,
// (undocumented)
HOST_DIRECTIVE_NOT_STANDALONE = 308,
// (undocumented)
HOST_DIRECTIVE_UNDEFINED_BINDING = 311,
// (undocumented)
HOST_DIRECTIVE_UNRESOLVABLE = 307,
// (undocumented)
HYDRATION_MISSING_NODE = -502,
// (undocumented)
HYDRATION_MISSING_SIBLINGS = -501,
// (undocumented)
HYDRATION_NODE_MISMATCH = -500,
// (undocumented)
HYDRATION_STABLE_TIMEDOUT = -506,
// (undocumented)
IMAGE_PERFORMANCE_WARNING = -913,
// (undocumented)
IMPORT_PROVIDERS_FROM_STANDALONE = 800,
// (undocumented)
INFINITE_CHANGE_DETECTION = 103,
// (undocumented)
INJECTOR_ALREADY_DESTROYED = -205,
// (undocumented)
INVALID_APP_ID = 211,
// (undocumented)
INVALID_BINDING_TARGET = 316,
// (undocumented)
INVALID_DIFFER_INPUT = 900,
// (undocumented)
INVALID_EVENT_BINDING = 306,
// (undocumented)
INVALID_FACTORY_DEPENDENCY = 202,
// (undocumented)
INVALID_I18N_STRUCTURE = 700,
// (undocumented)
INVALID_INHERITANCE = 903,
// (undocumented)
INVALID_INJECTION_TOKEN = -204,
// (undocumented)
INVALID_MULTI_PROVIDER = -209,
// (undocumented)
INVALID_RESOURCE_CREATION_IN_PARAMS = 992,
// (undocumented)
INVALID_SET_INPUT_CALL = 317,
// (undocumented)
INVALID_SKIP_HYDRATION_HOST = -504,
// (undocumented)
INVALID_STYLE_PROP_VALUE = -318,
// (undocumented)
LOOP_TRACK_DUPLICATE_KEYS = -955,
// (undocumented)
LOOP_TRACK_RECREATE = -956,
// (undocumented)
MISCONFIGURED_INCREMENTAL_HYDRATION = 508,
// (undocumented)
MISSING_DIRECTIVE_DEFINITION = 916,
// (undocumented)
MISSING_DOCUMENT = 210,
// (undocumented)
MISSING_GENERATED_DEF = 906,
// (undocumented)
MISSING_HYDRATION_ANNOTATIONS = -505,
// (undocumented)
MISSING_INJECTION_CONTEXT = -203,
// (undocumented)
MISSING_INJECTION_TOKEN = 208,
// (undocumented)
MISSING_LOCALE_DATA = 701,
// (undocumented)
MISSING_NG_MODULE_DEFINITION = 915,
// (undocumented)
MISSING_REQUIRED_INJECTABLE_IN_BOOTSTRAP = 402,
// (undocumented)
MISSING_SSR_CONTENT_INTEGRITY_MARKER = -507,
// (undocumented)
MISSING_ZONEJS = 908,
// (undocumented)
MULTIPLE_COMPONENTS_MATCH = -300,
// (undocumented)
MULTIPLE_MATCHING_PIPES = 313,
// (undocumented)
MULTIPLE_PLATFORMS = 400,
// (undocumented)
MUST_PROVIDE_STREAM_OPTION = 990,
// (undocumented)
NG_MODULE_ID_NOT_FOUND = 920,
// (undocumented)
NO_BINDING_TARGET = 315,
// (undocumented)
NO_SUPPORTING_DIFFER_FACTORY = 901,
// (undocumented)
OUTPUT_REF_DESTROYED = 953,
// (undocumented)
PIPE_NOT_FOUND = -302,
// (undocumented)
PLATFORM_ALREADY_DESTROYED = 404,
// (undocumented)
PLATFORM_NOT_FOUND = -401,
// (undocumented)
PROVIDED_BOTH_ZONE_AND_ZONELESS = 408,
// (undocumented)
PROVIDER_IN_WRONG_CONTEXT = -207,
// (undocumented)
PROVIDER_NOT_FOUND = -201,
// (undocumented)
RECURSIVE_APPLICATION_REF_TICK = 101,
// (undocumented)
RENDERER_NOT_FOUND = 407,
// (undocumented)
REQUIRE_SYNC_WITHOUT_SYNC_EMIT = 601,
// (undocumented)
REQUIRED_INPUT_NO_VALUE = -950,
// (undocumented)
REQUIRED_MODEL_NO_VALUE = 952,
// (undocumented)
REQUIRED_QUERY_NO_VALUE = -951,
// (undocumented)
RESOURCE_COMPLETED_BEFORE_PRODUCING_VALUE = 991,
// (undocumented)
RUNTIME_DEPS_INVALID_IMPORTED_TYPE = 980,
// (undocumented)
RUNTIME_DEPS_ORPHAN_COMPONENT = 981,
// (undocumented)
SIGNAL_WRITE_FROM_ILLEGAL_CONTEXT = 600,
// (undocumented)
TEMPLATE_STRUCTURE_ERROR = 305,
// (undocumented)
TYPE_IS_NOT_STANDALONE = 907,
// (undocumented)
UNEXPECTED_ZONE_STATE = 909,
// (undocumented)
UNEXPECTED_ZONEJS_PRESENT_IN_ZONELESS_MODE = 914,
// (undocumented)
UNINITIALIZED_LET_ACCESS = 314,
// (undocumented)
UNKNOWN_BINDING = 303,
// (undocumented)
UNKNOWN_ELEMENT = 304,
// (undocumented)
UNSAFE_ATTRIBUTE_BINDING = -910,
// (undocumented)
UNSAFE_VALUE_IN_RESOURCE_URL = 904,
// (undocumented)
UNSAFE_VALUE_IN_SCRIPT = 905,
// (undocumented)
UNSUPPORTED_PROJECTION_DOM_NODES = -503,
// (undocumented)
VIEW_ALREADY_ATTACHED = 902,
// (undocumented)
VIEW_ALREADY_DESTROYED = 911,
// (undocumented)
VIEW_DESTROYED_INSERT_ERROR = 922,
// (undocumented)
VIEW_DESTROYED_MOVE_ERROR = 923
}
// (No @packageDocumentation comment for this package)