Interface ODataServiceErrorDetails
- All Known Implementing Classes:
ODataServiceError
public interface ODataServiceErrorDetails
Interface that resembles which information OData errors must contain and which information is optional.
-
Method Summary
Modifier and TypeMethodDescriptionLanguage independent OData error response code.Language dependent OData error message.io.vavr.control.Option<String>
Optional OData service specific hint for origin of the error.
-
Method Details
-
getODataCode
Language independent OData error response code.- Returns:
- The OData error code.
-
getODataMessage
Language dependent OData error message. The language used is reflected by the "Content-Language" header in the HTTP response.- Returns:
- The OData error message.
-
getTarget
Optional OData service specific hint for origin of the error.- Returns:
- An
optional
target.
-