Documentation ¶
Index ¶
- func Code(err error) string
- func ErrorToApplicationError(err error) error
- func IsNonRetryable(err error) bool
- func MarshalStartWorkflowOptions(o client.StartWorkflowOptions) (*xnsv1.StartWorkflowOptions, error)
- func MarshalUpdateWorkflowOptions(o client.UpdateWorkflowWithOptionsRequest) (*xnsv1.UpdateWorkflowWithOptionsRequest, error)
- func UnmarshalRetryPolicy(rp *xnsv1.RetryPolicy) *temporal.RetryPolicy
- func UnmarshalStartWorkflowOptions(o *xnsv1.StartWorkflowOptions) client.StartWorkflowOptions
- func UnmarshalUpdateWorkflowOptions(o *xnsv1.UpdateWorkflowWithOptionsRequest) client.UpdateWorkflowWithOptionsRequest
- func Unwrap(err error) *temporal.ApplicationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorToApplicationError ¶ added in v1.10.4
ErrorToApplicationError converts an arbitrary Go error into a temporal application error with the appropriate retryable configuration
func IsNonRetryable ¶ added in v1.10.4
func MarshalStartWorkflowOptions ¶
func MarshalStartWorkflowOptions(o client.StartWorkflowOptions) (*xnsv1.StartWorkflowOptions, error)
func MarshalUpdateWorkflowOptions ¶
func MarshalUpdateWorkflowOptions(o client.UpdateWorkflowWithOptionsRequest) (*xnsv1.UpdateWorkflowWithOptionsRequest, error)
func UnmarshalRetryPolicy ¶ added in v1.10.4
func UnmarshalRetryPolicy(rp *xnsv1.RetryPolicy) *temporal.RetryPolicy
func UnmarshalStartWorkflowOptions ¶
func UnmarshalStartWorkflowOptions(o *xnsv1.StartWorkflowOptions) client.StartWorkflowOptions
func UnmarshalUpdateWorkflowOptions ¶
func UnmarshalUpdateWorkflowOptions(o *xnsv1.UpdateWorkflowWithOptionsRequest) client.UpdateWorkflowWithOptionsRequest
func Unwrap ¶ added in v1.10.4
func Unwrap(err error) *temporal.ApplicationError
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.