UNPKG
pouchdb-mapreduce
Version:
latest (9.0.0)
9.0.0
8.0.1
8.0.0
7.3.1
7.3.0
7.2.2
7.2.1
7.1.1
7.1.0
7.0.0
6.4.3
6.4.2
6.4.1
6.4.0
6.3.4
6.3.3
6.3.2
6.3.1
6.3.0
6.2.1-prerelease
6.2.0
6.1.2
6.1.1
6.1.0
6.0.7
6.0.6
6.0.5
6.0.4
6.0.3
6.0.2
6.0.1
6.0.0
5.4.5
5.4.4
5.4.3
5.4.2
5.4.1
5.4.0
2.3.2
2.3.1
2.3.0
2.2.7
2.2.6
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.0
2.0.0
1.0.0
0.6.2
0.6.1
0.6.0
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.0
0.1.0
PouchDB's map/reduce query API as a plugin.
github.com/pouchdb/pouchdb
pouchdb/pouchdb
pouchdb-mapreduce
/
src
/
createBuiltInError.js
11 lines
(8 loc)
•
265 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{
BuiltInError
}
from
'./errors'
;
function
createBuiltInError
(
name
) {
var
message =
'builtin '
+ name +
' function requires map values to be numbers'
+
' or number arrays'
;
return
new
BuiltInError
(message); }
export
default
createBuiltInError;