Myvideo

Guest

Login

Use error decorators to simplify your error handling code

Uploaded By: Myvideo
1 view
0
0 votes
0

Imagine you've written a Retry function that accepts a callback function as an argument, and executes it in a loop until success. Now further imagine that some errors should not be retried. Learn how to use a simple custom error type implimentation as a decorator type, to simplify this type of logic. Other videos of mine on the topic of errors and error wrapping:

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later