# Sandbox.Services.Ai.RequestException

An AI request failure with a code callers can handle without matching message text.

- Kind: class
- Assembly: `Sandbox.Engine`
- Modifiers: sealed

## Properties

- [`Code`](/api/Sandbox.Services.Ai.RequestException/Code): Backend error code, or network_error when the server could not be reached.
- [`Credits`](/api/Sandbox.Services.Ai.RequestException/Credits): Account balance reported with this failure, or null when unavailable.
- [`RenewsAt`](/api/Sandbox.Services.Ai.RequestException/RenewsAt): Next monthly allowance renewal, when supplied by the backend.
- [`StatusCode`](/api/Sandbox.Services.Ai.RequestException/StatusCode): Backend HTTP status, or null when no response was received.
