Today, we are delighted to announce the availability of four new hands-on training courses. Each course covers how to craft an error handling strategy using a specific SDK:
- Crafting an Error Handling Strategy in Go
- Crafting an Error Handling Strategy in Java
- Crafting an Error Handling Strategy in Python
- Crafting an Error Handling Strategy in TypeScript
Why Should I Take the “Crafting an Error Handling Strategy” Training?
Errors happen. And when they do, you have to know how to handle them. Properly identifying and handling errors is crucial to the success of your application. With this knowledge, you can develop durable, stable applications that you can rely on.
What Do These Courses Cover?
We have three main learning objectives that you will be able to do once you complete the course.
1. Recommend an error handling strategy
You’ll acquire an understanding of how Temporal represents and handles errors. By the end of this course, you’ll understand the difference between platform and application errors, and how Temporal deals with both. Additionally, you’ll grasp the distinctions between timeouts and failures, and how they affect Temporal applications. You’ll determine when it’s appropriate to fail an Activity Execution, how to fail a Workflow Execution, and when it’s appropriate to do either. Decisions like these significantly impact the reliability and efficiency of your Temporal applications.
2. Implement an error handling strategy
Once you know how Temporal handles errors, you’ll be ready to implement strategies for handling failures. This includes creating custom Retry Policies to retry failures, associating Retry Policies with Activity Executions, and how to handle these failures when a retry isn’t the solution. You’ll also recognize when it’s appropriate for an error to not be retried, and instead propagated up the call stack.
3. Integrate appropriate mechanisms for handling various types of errors
Finally, you’ll handle Workflow Executions that don’t go according to plan with a variety of techniques and patterns. You’ll implement Activity Heartbeating for your long-running Activities to keep track of their progress. You’ll decide when it’s appropriate to cancel a Workflow or terminate it. And you’ll use compensating actions to restore state following a failure in the Workflow Execution with the Saga pattern.
Who Should Take this Course?
This course is appropriate for any Temporal application developer. Seriously, code fails, and you have to know how to handle it. We believe this course is foundational for every developer building Temporal applications. Because the topics covered in this course refer to Temporal 101: Introducing the Temporal Platform, we recommend that you first complete that course, as well as our Temporal 102: Exploring Durable execution course, which covers other topics related to successfully implementing of Temporal applications.
If you're ready to craft an error handling strategy, follow one of the links below and begin your free hands-on training:
- Crafting an Error Handling Strategy in Go
- Crafting an Error Handling Strategy in Java
- Crafting an Error Handling Strategy in Python
- Crafting an Error Handling Strategy in TypeScript
What's Next for Temporal Training?
The Education Team is making progress on our “developer track” courses. One of our next milestones is to create course material about our newest SDK, .NET, and bring it up to parity with our other SDKs.
Replay 2025 attendees will have a first hand opportunity to take these .NET courses live!, Be on the lookout for registration to open.