report

package
v0.0.0-...-2f7b494 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnError

func AnError(c actor.Context, err error)

AnError reports an error to a Context's supervisor chain

func AnUnhandledMessage

func AnUnhandledMessage(c actor.Context, m actor.Message)

AnUnhandledMessage reports an unhandled actor.Message to a Context's supervisor chain

Types

type DeadLetter

type DeadLetter struct {
	Source actor.Address
	actor.Message
}

DeadLetter reports an unhandled Message that may propagate upward via the supervisor chain

type Error

type Error struct {
	Source  actor.Address
	Wrapped error
}

Error wraps an error that may propagate upward via the supervisor chain

func (*Error) Error

func (e *Error) Error() string

func (*Error) Unwrap

func (e *Error) Unwrap() error

type Report

type Report interface {
	// contains filtered or unexported methods
}

Report is a Message that travels upward via the supervisor chain

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL