Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit f1c164c

Browse files
docs($parse): add missing error documents
1 parent 3eabaab commit f1c164c

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

docs/content/error/$parse/esc.ngdoc

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@ngdoc error
2+
@name $parse:esc
3+
@fullName Value cannot be escaped
4+
@description
5+
6+
Occurs when the parser tries to escape a value that is not known.
7+
8+
This should never occur in practice. If it does then that indicates a programming
9+
error in the AngularJS `$parse` service itself and should be reported as an issue
10+
at https://github.com/angular/angular.js/issues.

docs/content/error/$parse/lval.ngdoc

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
@ngdoc error
2+
@name $parse:lval
3+
@fullName Trying to assign a value to a non l-value
4+
@description
5+
6+
Occurs when an expression is trying to assign a value to a non-assignable expression.
7+
8+
This can happen if the left side of an assigment is not a valid reference to a variable
9+
or property. E.g. In the following snippet `1+2` is not assignable.
10+
11+
```
12+
(1+2) = 'hello';
13+
```

0 commit comments

Comments
 (0)