Skip to main content

Module errors

Module errors 

Source
Expand description

HTTP and network error classification for user-facing diagnostics.

Maps HTTP status codes and request context into structured ApiIssue values with a summary and guidance string. The settings window and health dashboard display these to help users self-diagnose problems.

Enumsยง

RequestContext ๐Ÿ”’
Identifies the operational context in which an Immich request was made.

Functionsยง

classify_http_issue ๐Ÿ”’
Map an HTTP status code to an actionable user-facing ApiIssue.
classify_network_issue ๐Ÿ”’
Map a reqwest connection or timeout error to an actionable user-facing ApiIssue.