geonode.base.api.exceptions =========================== .. py:module:: geonode.base.api.exceptions Classes ------- .. autoapisummary:: geonode.base.api.exceptions.InvalidResourceException Functions --------- .. autoapisummary:: geonode.base.api.exceptions.geonode_exception_handler geonode.base.api.exceptions._extract_detail Module Contents --------------- .. py:class:: InvalidResourceException Bases: :py:obj:`rest_framework.exceptions.APIException` .. py:attribute:: status_code :value: 500 .. py:attribute:: default_detail :value: 'Invalid Resource exception' .. py:attribute:: default_code :value: 'invalid_resource_exception' .. py:attribute:: category :value: 'resource_api' .. py:function:: geonode_exception_handler(exc, context) .. py:function:: _extract_detail(exc, loop=False)