Documentation ¶
Index ¶
Constants ¶
View Source
const StreamingConnectionError = "StreamingConnectionError"
Variables ¶
View Source
var OctantGenericError = "GenericError"
Functions ¶
func IsFatalStreamError ¶
Types ¶
type ErrorStore ¶
type ErrorStore interface { List() []InternalError Get(string) (InternalError, bool) Add(InternalError) (found bool) AddError(error) InternalError }
type GenericError ¶
type GenericError struct {
// contains filtered or unexported fields
}
func NewGenericError ¶
func NewGenericError(err error) *GenericError
func (*GenericError) Name ¶
func (o *GenericError) Name() string
func (*GenericError) Timestamp ¶
func (o *GenericError) Timestamp() time.Time
Timestamp returns the error timestamp.
type InternalError ¶
InternalError represents an internal Octant error.
type StreamError ¶
type StreamError struct { *GenericError Fatal bool }
func FatalStreamError ¶
func FatalStreamError(err error) *StreamError
func NewStreamError ¶
func NewStreamError(err error) *StreamError
func (*StreamError) Name ¶
func (s *StreamError) Name() string
Click to show internal directories.
Click to hide internal directories.