use StatusCode;
use ;
use crateError;
/// Answers an [`AuthError`](crate::AuthError) as that error does
/// (watchword-core implements `IntoResponse` for it). Any other failure is
/// logged and answered with a bare 500, so internals never reach the client.