Files
CLIProxyAPIPlus/internal/api/models.go
2025-07-03 06:47:37 +08:00

14 lines
295 B
Go

package api
// ErrorResponse represents an error response
type ErrorResponse struct {
Error ErrorDetail `json:"error"`
}
// ErrorDetail represents error details
type ErrorDetail struct {
Message string `json:"message"`
Type string `json:"type"`
Code string `json:"code,omitempty"`
}