errors

package
v1.10.10 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is

func Is(err error) bool

func NewActorError

func NewActorError(invokeResponse *invokev1.InvokeMethodResponse) 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