[ https://issues.apache.org/jira/browse/OLINGO-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Amend reassigned OLINGO-1086: --------------------------------------- Assignee: Christian Amend Hi Ashish, this feature is not yet implemented. If you would like to contribute a patch file which implements this here is a tutorial you can follow: http://olingo.apache.org/contribute.html Thanks & Best Regards, Chris > How to control presence of OData error details > ---------------------------------------------- > > Key: OLINGO-1086 > URL: https://issues.apache.org/jira/browse/OLINGO-1086 > Project: Olingo > Issue Type: Question > Components: odata2-core > Affects Versions: V2 2.0.6 > Reporter: ashish > Assignee: Christian Amend > Priority: Minor > > I'm trying to control the presence of details in error responses from When I > I would like to get something like this: > { > "error": { > "code": "Error code", > "message": "Message from exception filter", > "details": [ > { > "code": "Detail code", > "message": "Details here" > } > ], > "innererror": { > "message": "Exception message here", > "type": "Exception type", > "stacktrace": "Stack trace here" > } > } > } > But i am getting like: > { > "error": { > "code": "Error code", > "message": "Message from exception filter" > } > } > I Followed https://olingo.apache.org/doc/odata2/tutorials/debug.html for > callback method but ODataErrorContext class do not have any method to set > Error_details . > can you please help me here? > Thanks in advance. > Ashish -- This message was sent by Atlassian JIRA (v6.3.15#6346)