pub async fn write_text_error( session: &mut Session, status: u16, message: &str, ) -> Result<(), Box<Error>>
Write a plain text error response
Shorthand for write_error with text/plain; charset=utf-8 content type.
write_error
text/plain; charset=utf-8