Skip to content

Instantly share code, notes, and snippets.

View actix_web_web_error
#[macro_use]
extern crate actix_web;
use failure::Fail;
use actix_web::{
http, middleware, web, App, HttpResponse,
HttpServer, error
};
use serde::{Deserialize, Serialize};
use std::env;