type Err

bend-kit-llm@0.13.0.1 · llm.bend:31

import bend-kit-llm@0.13.0.1/llm.bend as Llm
import Base
import bend-kit-hairpin@0.13.0.1/hairpin.bend as Hairpin

31# ErrNet: the request did not complete, or Hairpin's breaker admitted no attempt. ErrApi: the API refused, with
32# its status and error text; an error event in a stream has status 200. ErrReply: a reply that is not the API's JSON, with its text.
33type Err is Data:
34  ErrNet{e: Hairpin.Err}
35  ErrApi{status: U32, body: String}
36  ErrReply{body: String}

Uses (3)

Used by (35)