Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorStore ¶
type ErrorStore interface { List() []*InternalError Get(uuid.UUID) (*InternalError, bool) Add(*InternalError) NewError(string, action.Payload, error) *InternalError }
func NewErrorStore ¶
func NewErrorStore() (ErrorStore, error)
type InternalError ¶
type InternalError struct {
// contains filtered or unexported fields
}
func NewInternalError ¶
func NewInternalError(requestType string, payload action.Payload, err error) *InternalError
func (*InternalError) Payload ¶
func (o *InternalError) Payload() action.Payload
Request returns the payload that generated the error, if available.
func (*InternalError) RequestType ¶
func (o *InternalError) RequestType() string
Client returns a client if one is available.
Click to show internal directories.
Click to hide internal directories.