I wanted to get the depth curves for the lakes in Haldenvassdraget (Halden rivers/lakes) into geojson format.

Depth curves for the lakes of the Halden river system

Using Arrow in Ktor for controlled error handling. Sealed interfaces for error types, Raise for propagation, and extension functions for HTTP responses.