From e4b6a1eaa4a432b0082c7abbff8f4bb169cf846e Mon Sep 17 00:00:00 2001 From: Ken Sheedlo Date: Thu, 1 Aug 2013 15:11:10 -0700 Subject: docs(minerr): fill in error message descriptions Errors I've documented so far: - `$injector:cdep` - `$injector:itkn` - `$injector:modulerr` - `$injector:nomod` - `$injector:pget` - `$injector:unpr` - `ng:areq` - `ng:cpi` - `ng:cpws` - `ngModel:noass` Closes #3430 --- docs/content/error/interpolate/interr.ngdoc | 3 +++ docs/content/error/interpolate/noconcat.ngdoc | 8 ++++++++ 2 files changed, 11 insertions(+) (limited to 'docs/content/error/interpolate') diff --git a/docs/content/error/interpolate/interr.ngdoc b/docs/content/error/interpolate/interr.ngdoc index a36a1d7d..8d56c8d0 100644 --- a/docs/content/error/interpolate/interr.ngdoc +++ b/docs/content/error/interpolate/interr.ngdoc @@ -2,3 +2,6 @@ @name $interpolate:interr @fullName Interpolation Error @description + +This error occurs when interpolation fails due to some exception. The error +message above should provide additional context. diff --git a/docs/content/error/interpolate/noconcat.ngdoc b/docs/content/error/interpolate/noconcat.ngdoc index f1fd6c46..c611b81a 100644 --- a/docs/content/error/interpolate/noconcat.ngdoc +++ b/docs/content/error/interpolate/noconcat.ngdoc @@ -2,3 +2,11 @@ @name $interpolate:noconcat @fullName Multiple Expressions @description + +This error occurs when performing an interpolation that concatenates multiple +expressions when a trusted value is required. Concatenating expressions makes +it hard to reason about whether some combination of concatenated values are +unsafe to use and could easily lead to XSS. + +For more information about how AngularJS helps keep your app secure, refer to +the {@link api/ng.$sce $sce} API doc. \ No newline at end of file -- cgit v1.2.3