codersdkErrorWriter writes standard codersdk errors for general API endpoints
| 262 | |
| 263 | // codersdkErrorWriter writes standard codersdk errors for general API endpoints |
| 264 | type codersdkErrorWriter struct{} |
| 265 | |
| 266 | func (*codersdkErrorWriter) writeMissingClientID(ctx context.Context, rw http.ResponseWriter) { |
| 267 | httpapi.Write(ctx, rw, http.StatusBadRequest, codersdk.Response{ |
nothing calls this directly
no outgoing calls
no test coverage detected