Help us shape the future of Go! Take the 2026 Go Developer Survey

errors

package
v1.17.18 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCreatingActor = errors.New("failed to create actor")

ErrCreatingActor is returned when the table cannot create an actor because its not registered.

View Source
var ErrReminderCanceled = errors.New("reminder has been canceled")

ErrReminderCanceled is returned when the reminder has been canceled.

Functions

func Is

func Is(err error) bool

func NewActorError

func NewActorError(res *internalv1pb.InternalInvokeResponse) error

Types

type ActorError

type ActorError struct {
	// contains filtered or unexported fields
}

ActorError is an error returned by an Actor via a header + body in the method's response.

func As

func As(err error) (*ActorError, bool)

func (*ActorError) Body

func (e *ActorError) Body() []byte

func (*ActorError) ContentType

func (e *ActorError) ContentType() string

func (*ActorError) Error

func (e *ActorError) Error() string

func (*ActorError) Headers

func (*ActorError) StatusCode

func (e *ActorError) StatusCode() int

Jump to

Keyboard shortcuts

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