We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10d991b commit 0f71e92Copy full SHA for 0f71e92
lambda-runtime/src/diagnostic.rs
@@ -7,6 +7,9 @@ use crate::{deserializer::DeserializeError, Error};
7
///
8
/// `Diagnostic` is automatically derived for some common types,
9
/// like boxed types that implement [`Error`][std::error::Error].
10
+/// If you use an error type which comes from a external crate like anyhow,
11
+/// you need convert it to common types like `Box<dyn std::error::Error>`.
12
+/// See the examples for more details.
13
14
/// [`error_type`][`Diagnostic::error_type`] is derived from the type name of
15
/// the original error with [`std::any::type_name`] as a fallback, which may
0 commit comments