# Request errors
The format of request error is: aa-bb-cccc
Where aa is the provider number, bb the error type and cccc the error code.  

## Provider number
00: OpenAI
01: Anthropic
02: Mistral
03: Google
04: Groq
05: Nim
06: Perplexity
07: TogetherAI
08: DeepSeek
09: Firework
10: Custom
99: JADE

## Error type
00: Database error
01: Golang error
02: HTTP error
03: Missing status code

## Error code
0000: Can't find API key in database
0001: Error using `jsonBody, err := json.Marshal(requestBody)` in RequestProvider function
0002: Error using `req, err := http.NewRequest("POST", url, bytes.NewBuffer(jsonBody))` in RequestProvider function
0003: Error using `resp, err := client.Do(req)` in RequestProvider function
0004: Error using `body, err := io.ReadAll(resp.Body)` in RequestProvider function
0005: Error using `err = json.Unmarshal(body, &chatCompletionResponse)` in RequestProvider function
0006: Can't find modelInfo in database
0007: No choice at the end of request. Mostly because an error is missing.
