DaemonApiException.fromSseRequest constructor

DaemonApiException.fromSseRequest(
  1. SseRequestException error
)

Implementation

factory DaemonApiException.fromSseRequest(SseRequestException error) =>
    DaemonApiException.fromResponse(
      statusCode: error.statusCode,
      body: error.body,
      cause: error,
    );