-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Argument of type 'Error' is not assignable to parameter of type 'Scheduler' #3672
Comments
A timeout always throws a Rx.TimeoutError with the latest rxjs. So the error parameter is unnecessary. |
@clydin thanks - what if i want to modify what it says ? :) |
I'm interested too. I opened a same related question on stackoverflow http://stackoverflow.com/questions/41320125/how-to-implement-http-post-timeout-wth-last-rjxs-version |
@peterpeterparker I can see that you updated your question/answer yesterday on stackoverflow. I am still not sure how can you throw a custom error message with that? (If I dont want to check error message in subscribe method). |
@hassanasad I don't know neither except by checking the error in the error part, but at least, it works again ;) |
Sorry but this isn't a CLI problem so I'll have to close it. Stack Overflow is a good place to ask. |
@hassanasad Do you find any solution for this ? |
I changed my code as follows (it doesn't necessarily solve the issue but i got over it):
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
OS?
Versions.
After the update to angular-cli beta 24 i started getting this error:
This is the code in context:
If i comment line 22 everything works fine. However, i do want to throw that error of timeout. Any suggestions please?
The text was updated successfully, but these errors were encountered: