serverError static method
Implementation
static GatewayTransportResponse serverError({int statusCode = 502}) =>
GatewayTransportResponse(
statusCode: statusCode,
body: '{"error":"upstream timeout"}',
);
static GatewayTransportResponse serverError({int statusCode = 502}) =>
GatewayTransportResponse(
statusCode: statusCode,
body: '{"error":"upstream timeout"}',
);