-
public final class ResponseKt
-
-
Method Summary
Modifier and Type Method Description final static Result<StreamEndpointErrorData>toErrorData(Response $self, StreamJsonSerialization with)Extracts the API error from the response body. -
-
Method Detail
-
toErrorData
final static Result<StreamEndpointErrorData> toErrorData(Response $self, StreamJsonSerialization with)
Extracts the API error from the response body.
- Parameters:
with- The JSON parser to use for parsing the response body.
-
-
-
-