pub fn unauthorized<E>(err: E) -> Errorwhere
E: ErrorExtensions,Expand description
Create an unauthorized error (HTTP 401).
Use this for authentication/authorization errors.
pub fn unauthorized<E>(err: E) -> Errorwhere
E: ErrorExtensions,Create an unauthorized error (HTTP 401).
Use this for authentication/authorization errors.