Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
from drf_problems.utils import register
class InvalidVersionRequestedException(exceptions.NotAcceptable):
default_code = 'invalid_version'
title = 'Invalid API version'
default_detail = 'Provided API version is invalid.')
description = 'Malformed or unsupported version string is provided with the request.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment