django rest framework

Custom error handler in Django Rest Framework

How to create custom error handler in Django Rest Framework