MCPcopy Index your code
hub / github.com/coder/coder / Error

Method Error

coderd/x/chatd/chatd.go:1443–1450  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1441}
1442
1443func (e *UsageLimitExceededError) Error() string {
1444 return fmt.Sprintf(
1445 "usage limit exceeded: spent %s of %s limit, resets at %s",
1446 formatMicrosAsDollars(e.ConsumedMicros),
1447 formatMicrosAsDollars(e.LimitMicros),
1448 e.PeriodEnd.Format(time.RFC3339),
1449 )
1450}
1451
1452// CreateOptions controls chat creation in the shared chat mutation path.
1453type CreateOptions struct {

Calls 2

formatMicrosAsDollarsFunction · 0.85
FormatMethod · 0.65