mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(coderd/healthcheck): add access URL error codes and healthcheck doc (#10915)
Relates to #8965 - Added error codes for separate code paths in health checks - Prefixed errors and warnings with error code prefixes - Added a docs page with details on each code, cause and solution Co-authored-by: Muhammad Atif Ali <atif@coder.com>
This commit is contained in:
co-authored by
Muhammad Atif Ali
parent
5b2f43619b
commit
4f9292859d
Generated
+37
@@ -2203,6 +2203,43 @@ export const ClibaseValueSources: ClibaseValueSource[] = [
|
||||
|
||||
// The code below is generated from coderd/healthcheck/health.
|
||||
|
||||
// From health/model.go
|
||||
export type HealthCode =
|
||||
| "EACS01"
|
||||
| "EACS02"
|
||||
| "EACS03"
|
||||
| "EACS04"
|
||||
| "EDB01"
|
||||
| "EDB02"
|
||||
| "EDERP01"
|
||||
| "EDERP02"
|
||||
| "EUNKNOWN"
|
||||
| "EWP01"
|
||||
| "EWP02"
|
||||
| "EWP03"
|
||||
| "EWP04"
|
||||
| "EWS01"
|
||||
| "EWS02"
|
||||
| "EWS03";
|
||||
export const HealthCodes: HealthCode[] = [
|
||||
"EACS01",
|
||||
"EACS02",
|
||||
"EACS03",
|
||||
"EACS04",
|
||||
"EDB01",
|
||||
"EDB02",
|
||||
"EDERP01",
|
||||
"EDERP02",
|
||||
"EUNKNOWN",
|
||||
"EWP01",
|
||||
"EWP02",
|
||||
"EWP03",
|
||||
"EWP04",
|
||||
"EWS01",
|
||||
"EWS02",
|
||||
"EWS03",
|
||||
];
|
||||
|
||||
// From health/model.go
|
||||
export type HealthSeverity = "error" | "ok" | "warning";
|
||||
export const HealthSeveritys: HealthSeverity[] = ["error", "ok", "warning"];
|
||||
|
||||
Reference in New Issue
Block a user