parseErrorDetail
function parseErrorDetail(obj): ErrorDetail | null;Defined in: src/error-model.ts:283
Decode one detail object, or null when it is unknown or malformed.
Clients ignore types they do not know, and a malformed known type is treated as absent rather than failing the error it rides on: the error is the news, the detail is commentary.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
obj |
unknown |
Returns
Section titled “Returns”ErrorDetail | null
