Skip to content

Commit 28808d3

Browse files
Update src/errors.rs
Co-authored-by: Francesco Guardiani <francescoguard@gmail.com>
1 parent 10cda09 commit 28808d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//! By default, Restate does infinite retries with an exponential backoff strategy.
55
//!
66
//! For failures for which you do not want retries, but instead want the invocation to end and the error message
7-
//! to be propagated back to the caller, you can throw a **terminal error**.
7+
//! to be propagated back to the caller, you can return a [`TerminalError`].
88
//!
99
//! You can throw a terminal exception with an optional HTTP status code and a message anywhere in your handler, as follows:
1010
//!

0 commit comments

Comments
 (0)