Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 (e *ActorError) Headers() invokev1.DaprInternalMetadata
func (*ActorError) StatusCode ¶
func (e *ActorError) StatusCode() int
Click to show internal directories.
Click to hide internal directories.