Skip to content

Commit b075cb1

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

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
@@ -6,7 +6,7 @@
66
//! For failures for which you do not want retries, but instead want the invocation to end and the error message
77
//! to be propagated back to the caller, you can return a [`TerminalError`].
88
//!
9-
//! You can throw a terminal exception with an optional HTTP status code and a message anywhere in your handler, as follows:
9+
//! You can return a [`TerminalError`] with an optional HTTP status code and a message anywhere in your handler, as follows:
1010
//!
1111
//! ```rust,no_run
1212
//! # use restate_sdk::prelude::*;

0 commit comments

Comments
 (0)