Function: buildODataErrorResponse()
buildODataErrorResponse(
exception,mapper?,context?,defaultLanguage?):ODataErrorResponse
Defined in: response/odata-error.ts:355
Build the OData error response for an exception: the application's errorMapper first, then the library's default mapping. language is the mapping's own language, else defaultLanguage (the errorLanguage module option), else 'en'.
Parameters
exception
unknown
mapper?
context?
defaultLanguage?
string = DEFAULT_ERROR_LANGUAGE