From ef465fb5fe093571f3554f83b179f022b8877351 Mon Sep 17 00:00:00 2001 From: PandaFeeder Date: Sat, 13 May 2017 18:10:47 +0800 Subject: [PATCH] add a new Exception class called MiddlewareTypeError --- sanic/exceptions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sanic/exceptions.py b/sanic/exceptions.py index a026575a..79a522cc 100644 --- a/sanic/exceptions.py +++ b/sanic/exceptions.py @@ -174,3 +174,6 @@ class ContentRangeError(SanicException): class InvalidRangeType(ContentRangeError): pass + +class MiddlewareTypeError(Exception): + pass \ No newline at end of file