Documentation ¶
Index ¶
Constants ¶
View Source
const OctantAccessError = "AccessError"
View Source
const OctantActionError = "ActionError"
Variables ¶
This section is empty.
Functions ¶
func IsBackoffError ¶ added in v0.10.1
func NewErrorStore ¶
func NewErrorStore() (errors.ErrorStore, error)
NewErrorStore creates a new error store.
Types ¶
type AccessError ¶
type AccessError struct {
// contains filtered or unexported fields
}
func NewAccessError ¶
func NewAccessError(key store.Key, verb string, err error) *AccessError
func (*AccessError) Name ¶ added in v0.10.1
func (o *AccessError) Name() string
func (*AccessError) Timestamp ¶
func (o *AccessError) Timestamp() time.Time
Timestamp returns the error timestamp.
type ActionError ¶
type ActionError struct {
// contains filtered or unexported fields
}
func NewActionError ¶
func NewActionError(requestType string, payload action.Payload, err error) *ActionError
func (*ActionError) Name ¶ added in v0.10.1
func (o *ActionError) Name() string
func (*ActionError) Payload ¶
func (o *ActionError) Payload() action.Payload
Request returns the payload that generated the error, if available.
func (*ActionError) RequestType ¶
func (o *ActionError) RequestType() string
Client returns a client if one is available.
func (*ActionError) Timestamp ¶
func (o *ActionError) Timestamp() time.Time
Timestamp returns the error timestamp.
Click to show internal directories.
Click to hide internal directories.