sdkerrors

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: MPL-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorObject

type ErrorObject struct {
	Error_ *string `json:"error,omitempty"`
}

ErrorObject - Not authorized

func (*ErrorObject) Error

func (e *ErrorObject) Error() string

type SDKError

type SDKError struct {
	Message     string
	StatusCode  int
	Body        string
	RawResponse *http.Response
}

func NewSDKError

func NewSDKError(message string, statusCode int, body string, httpRes *http.Response) *SDKError

func (*SDKError) Error

func (e *SDKError) Error() string

type SetTaskAbandonedResponseBody added in v0.7.2

type SetTaskAbandonedResponseBody struct {
	State []string `json:"state,omitempty"`
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response `json:"-"`
}

SetTaskAbandonedResponseBody - already completed

func (*SetTaskAbandonedResponseBody) Error added in v0.7.2

Jump to

Keyboard shortcuts

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