alumbra.pipeline.ring

as-response

(as-response {:keys [status], :as pipeline-result})

Take the result of alumbra.pipeline.steps/run and generate a Ring response describing it.

format-error

(format-error {:keys [context hint], :as error} error-type)