Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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);