{"id":18790177,"url":"https://github.com/unistra/django-rest-framework-custom-exceptions","last_synced_at":"2025-04-13T14:07:19.345Z","repository":{"id":32321945,"uuid":"35897187","full_name":"unistra/django-rest-framework-custom-exceptions","owner":"unistra","description":"Custom exceptions for Django Rest Framework","archived":false,"fork":false,"pushed_at":"2019-11-21T10:14:46.000Z","size":14,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-04-13T14:07:15.020Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unistra.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-19T17:20:21.000Z","updated_at":"2021-09-12T16:27:26.000Z","dependencies_parsed_at":"2022-07-09T11:47:23.751Z","dependency_job_id":null,"html_url":"https://github.com/unistra/django-rest-framework-custom-exceptions","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unistra%2Fdjango-rest-framework-custom-exceptions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unistra%2Fdjango-rest-framework-custom-exceptions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unistra%2Fdjango-rest-framework-custom-exceptions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unistra%2Fdjango-rest-framework-custom-exceptions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unistra","download_url":"https://codeload.github.com/unistra/django-rest-framework-custom-exceptions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248724637,"owners_count":21151561,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T21:10:13.001Z","updated_at":"2025-04-13T14:07:19.305Z","avatar_url":"https://github.com/unistra.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"django-rest-custom-exceptions\n======================================\n\nCustom exceptions for django rest framework\n\nCompatibility\n-------------\n\nWorks with :\n\n  * Python 2.7, 3.4, 3.5, 3.6\n  * Django \u003e= 1.10\n  * Django Rest Framework \u003e= 3.5\n\n.. image:: https://travis-ci.org/unistra/django-rest-framework-custom-exceptions.svg?branch=master\n    :target: https://travis-ci.org/unistra/django-rest-framework-custom-exceptions\n\n.. image:: https://coveralls.io/repos/github/unistra/django-rest-framework-custom-exceptions/badge.svg?branch=master\n    :target: https://coveralls.io/github/unistra/django-rest-framework-custom-exceptions?branch=master\n\n.. image:: https://landscape.io/github/unistra/django-rest-framework-custom-exceptions/master/landscape.svg?style=flat\n    :target: https://landscape.io/github/unistra/django-rest-framework-custom-exceptions/master\n    :alt: Code Health\n\n\nInstallation\n------------\n\nInstall the package from pypi: ::\n\n    pip install djangorestframework-custom-exceptions\n\nAdd the application in your django settings: ::\n\n    INSTALLED_APPS = ('rest_framework_custom_exceptions',)\n\nConfigure your rest framework : ::\n\n    REST_FRAMEWORK = {\n        'EXCEPTION_HANDLER': 'rest_framework_custom_exceptions.exceptions.simple_error_handler'\n    }\n\nExample\n-------\n\nThe simple error handler show exceptions like this : ::\n    \n    {\n        \"error\": \"Not found\"\n    }\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funistra%2Fdjango-rest-framework-custom-exceptions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funistra%2Fdjango-rest-framework-custom-exceptions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funistra%2Fdjango-rest-framework-custom-exceptions/lists"}