{"modulePath":"github.com/bricks-cloud/bricksllm","version":"v1.45.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package errors\n\n## Constants\n\n```go\nconst (\n\tTtlExpiration       string = \"ttl\"\n\tCostLimitExpiration string = \"cost-limit\"\n)\n```\n\n## Types\n\n```go\ntype AuthError struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewAuthError(msg string) *AuthError\n```\n\n```go\nfunc (ae *AuthError) Authenticated()\n```\n\n```go\nfunc (ae *AuthError) Error() string\n```\n\n```go\ntype BlockedError struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewBlockedError(msg string) *BlockedError\n```\n\n```go\nfunc (be *BlockedError) Blocked()\n```\n\n```go\nfunc (be *BlockedError) Error() string\n```\n\n```go\ntype CostLimitError struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewCostLimitError(msg string) *CostLimitError\n```\n\n```go\nfunc (rle *CostLimitError) CostLimit()\n```\n\n```go\nfunc (cle *CostLimitError) Error() string\n```\n\n```go\ntype ExpirationError struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewExpirationError(msg string, reason string) *ExpirationError\n```\n\n```go\nfunc (ee *ExpirationError) Error() string\n```\n\n```go\nfunc (ee *ExpirationError) Reason() string\n```\n\n```go\ntype NotFoundError struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewNotFoundError(msg string) *NotFoundError\n```\n\n```go\nfunc (nfe *NotFoundError) Error() string\n```\n\n```go\nfunc (nfe *NotFoundError) NotFound()\n```\n\n```go\ntype RateLimitError struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewRateLimitError(msg string) *RateLimitError\n```\n\n```go\nfunc (rle *RateLimitError) Error() string\n```\n\n```go\nfunc (rle *RateLimitError) RateLimit()\n```\n\n```go\ntype RedactError struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewRedactError(msg string) *RedactError\n```\n\n```go\nfunc (we *RedactError) Error() string\n```\n\n```go\nfunc (we *RedactError) Redacted()\n```\n\n```go\ntype ValidationError struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewValidationError(msg string) *ValidationError\n```\n\n```go\nfunc (ve *ValidationError) Error() string\n```\n\n```go\nfunc (ve *ValidationError) Validation()\n```\n\n```go\ntype WarningError struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewWarningError(msg string) *WarningError\n```\n\n```go\nfunc (we *WarningError) Error() string\n```\n\n```go\nfunc (we *WarningError) Warnings()\n```\n\n","path":"github.com/bricks-cloud/bricksllm/internal/errors","name":"errors","synopsis":"","isRedistributable":true}
