File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5858//! ## Error handling
5959//!
6060//! `axum` requires that middleware do not return errors, and that the errors returned by extractors
61- //! implement `IntoResponse`. By default, [`Error`](Error) is used by [`Layer`] and [`Tx`] to
61+ //! implement `IntoResponse`. By default, [`Error`] is used by [`Layer`] and [`Tx`] to
6262//! convert errors into HTTP 500 responses, with the error's `Display` value as the response body,
6363//! however it's generally not a good practice to return internal error details to clients!
6464//!
@@ -154,7 +154,7 @@ pub use crate::{
154154/// ```
155155#[ derive( Debug , thiserror:: Error ) ]
156156pub enum Error {
157- /// Indicates that the [`Layer`](crate::Layer) middleware was not installed.
157+ /// Indicates that the [`Layer`] middleware was not installed.
158158 #[ error( "required extension not registered; did you add the axum_sqlx_tx::Layer middleware?" ) ]
159159 MissingExtension ,
160160
You can’t perform that action at this time.
0 commit comments