Documentation ¶
Index ¶
Constants ¶
View Source
const MaxStackDepth = 50
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Error ¶
type Error struct { Type string `json:"type,omitempty"` Message string `json:"message,omitempty"` Permanent bool `json:"permanent,omitempty"` Cause error `json:"cause,omitempty"` Stacktrace string `json:"stacktrace,omitempty"` }
func FromError ¶
FromError wraps the given error into a workflow error which can be persisted and restored
func NewPermanentError ¶
func (*Error) UnmarshalJSON ¶
type PanicError ¶
type PanicError struct {
// contains filtered or unexported fields
}
func NewPanicError ¶
func NewPanicError(msg string) *PanicError
func (*PanicError) Error ¶
func (pe *PanicError) Error() string
func (*PanicError) Stack ¶
func (pe *PanicError) Stack() string
Click to show internal directories.
Click to hide internal directories.