Flask API прерван
from flask_restplus import abort
abort(400, custom='value')
Depressed Dunlin
from flask_restplus import abort
abort(400, custom='value')
abort(404) # 404 Not Found
abort(Response('Hello World'))