From ac871fadccf61b089bd430c01e83870c3d6a002c Mon Sep 17 00:00:00 2001 From: lizheao Date: Mon, 1 May 2017 22:44:35 +0800 Subject: [PATCH] recovery the format --- sanic/exceptions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sanic/exceptions.py b/sanic/exceptions.py index f0971e18..0af34390 100644 --- a/sanic/exceptions.py +++ b/sanic/exceptions.py @@ -106,6 +106,8 @@ class SanicException(Exception): class SanicTypeException(Exception): pass + + class NotFound(SanicException): status_code = 404