Error function in effects "is not a function"
See original GitHub issueThere seems to be a regression, or the docs are wrong, regarding the signature of an effect-function.
When attempting to use the third parameter sent to an effect-function (documented as “error” – a function you may call if something goes wrong), there console says:
Uncaught TypeError: error is not a function
(… assuming error
is the name I gave the third parameter)
Demo: http://codepen.io/anon/pen/VPEYjj (forked from the effects-demo)
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Effects / Spark AR "ERROR: undefined is not a function"
I'm trying to make a JS effect ...
Read more >TypeError: "x" is not a function - JavaScript - MDN Web Docs
The JavaScript exception "is not a function" occurs when there was an attempt to call a value from a function, but the value...
Read more >getStyleAt() is not a function | After Effects Expressions
I just opened a new project and import the old one, then problem fixed. Still don't know the reason. Maybe it's just a...
Read more >What does the JavaScript error 'is not a function' mean? - Quora
It means you tried to invoke an object using the parenthesis `()` but the object is not a function and therefore not executable....
Read more >8 Conditions | Advanced R - Hadley Wickham
The function author signals conditions with functions like stop() (for errors), warning() (for warnings), and message() (for messages), then the function user ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Doc’s are fine now, as far as I’m concerned at the moment anyway 😃 Nice swift work!
@tunnckoCore jsbin is great for actual debugging 😄
But CodePen is nice to share things with. The console is weird is CodePen as well haha