SerializableErrorExtensions.CreateODataError(SerializableError) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts the serializableError
to an ODataError.
public static Microsoft.OData.ODataError CreateODataError (this Microsoft.AspNetCore.Mvc.SerializableError serializableError);
static member CreateODataError : Microsoft.AspNetCore.Mvc.SerializableError -> Microsoft.OData.ODataError
<Extension()>
Public Function CreateODataError (serializableError As SerializableError) As ODataError
Parameters
- serializableError
- SerializableError
The SerializableError instance to convert.
Returns
The converted ODataError