Documentation
¶
Overview ¶
Package failurechain supplies an enriched application error for Durable Task Scheduler failure-chain tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LeafError ¶
type LeafError struct {
Message string
ErrorType api.ErrorType
Stack string
Properties map[string]any
// IsNonRetriable backs the NonRetriable marker method, which cannot share
// the field's name.
IsNonRetriable bool
}
LeafError is an application error that opts into every durable failure enrichment hook: a stable cross-language error type, a stack trace, custom properties, and the non-retriable marker. Tests reuse it so the same leaf contract is exercised against a live service.
func (*LeafError) DurableTaskErrorProperties ¶
func (*LeafError) DurableTaskErrorType ¶
func (*LeafError) DurableTaskStackTrace ¶
func (*LeafError) NonRetriable ¶
NonRetriable reports the marker the durable retry policy consults.
Click to show internal directories.
Click to hide internal directories.