aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/error/ng/cpi.ngdoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/error/ng/cpi.ngdoc')
-rw-r--r--docs/content/error/ng/cpi.ngdoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/content/error/ng/cpi.ngdoc b/docs/content/error/ng/cpi.ngdoc
index 95b30024..5d41ee64 100644
--- a/docs/content/error/ng/cpi.ngdoc
+++ b/docs/content/error/ng/cpi.ngdoc
@@ -2,3 +2,9 @@
@name ng:cpi
@fullName Bad Copy
@description
+
+This error occurs when attempting to copy an object to itself. Calling {@link
+api/angular.copy angular.copy} with a `destination` object deletes
+all of the elements or properties on `destination` before copying to it. Copying
+an object to itself is not supported. Make sure to check your calls to
+`angular.copy` and avoid copying objects or arrays to themselves. \ No newline at end of file