[ https://issues.apache.org/jira/browse/OLINGO-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17235301#comment-17235301 ]
Ramya Vasanth commented on OLINGO-1494: --------------------------------------- This feature is provided as part of the commit https://git-wip-us.apache.org/repos/asf?p=olingo-odata2.git;a=commit;h=f7679dc94491d4aa2a5146df94038565f721ef59 > OData V2: Serialize error details > --------------------------------- > > Key: OLINGO-1494 > URL: https://issues.apache.org/jira/browse/OLINGO-1494 > Project: Olingo > Issue Type: New Feature > Components: odata2-core > Reporter: Ramya Vasanth > Priority: Major > > ODataErrorContext does not have an API using which the error response can > include inner error details. 2 new API's are added > public Collection<ODataErrorContext> getErrorDetails() { > return errorDetails; > } > public void setErrorDetails(Collection<ODataErrorContext> errorDetails) { > this.errorDetails = errorDetails; > } > Also a method is added to ContentTypeBasedEntityProvider class so that error > responses having inner error details can be serialized > ODataResponse writeErrorDocument(ODataErrorContext context); -- This message was sent by Atlassian Jira (v8.3.4#803005)