You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Do you want to request a feature or report a bug?
bug?
What is the current behavior?
an error thrown in an $onChanges method results in an array being thrown which will result in $exceptionHandler(arrayOfErrors)
What is the expected behavior? Error objects are passed to $exceptionHandler
What is the motivation / use case for changing the behavior?
make $exceptionHandler more predictable / consistent / follow documentation
Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.
1.5+
Other information (e.g. stacktraces, related issues, suggestions how to fix)
Maybe each error in the array is passed to $exceptionHandler separately?
Maybe the array of errors is wrapped in an Error before being thrown?
Or document that $exceptionHandler might be passed an array?