errors

package
v1.15.0-rc.15 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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