-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Errors list
petkaantonov edited this page Dec 20, 2014
·
9 revisions
WIP
- Error: Promise.promisify called on an object
- Error: the promise constructor requires a resolver function
- Error: the promise constructor cannot be invoked directly
- Error: expecting an array, a promise or a thenable
- Error: generatorFunction must be a function
- Error: fn must be a function
- Error: cannot enable long stack traces after promises have been created
- Error: cannot get fulfillment value of a non-fulfilled promise
- Error: cannot get rejection reason of a non-rejected promise
- Error: the target of promisifyAll must be an object or a function
- Error: circular promise resolution chain
- Error: cannot await properties of a non-object
- Error: expecting a positive integer
- Error: A value was yielded that could not be treated as a promise
- Error: cannot await properties of a non object
- Error: cannot enable long stack traces after promises have been created
- Error: cannot get (fulfillment value or rejection reason) of a non (fulfilled or rejected) promise
- Error: Cannot promisify an API that has normal methods
- Error: Catch filter must inherit from Error or be a simple predicate function
Script to extract links from the right sidebar
function mapit(text, link) {
return " - [" + text + "]("+link+")"
}
$(".wiki-pages[data-filterable-for=wiki-pages-filter] a").map(function() {
return mapit($(this).text(), $(this).prop("href"));
}).toArray().join("\n");