Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotEnabled = NewDatabaseError("database not enabled", nil) // ErrNotFound indicates no results were found in the database ErrNotFound = NewDatabaseError("not found", nil) ErrNotImplemented = errors.New("not implemented") )
View Source
var ( // ErrSessionInvalid indicates that the session could not be retreived ErrSessionInvalid = errors.New("invalid session") // ErrUserLogonFailure indicates an invalid user and/or password ErrUserLogonFailure = errors.New("invalid credentials") )
Functions ¶
This section is empty.
Types ¶
type BroadcastError ¶
type BroadcastError struct {
// contains filtered or unexported fields
}
func NewBroadcastError ¶
func NewBroadcastError(ringID int) BroadcastError
func (BroadcastError) AddError ¶
func (e BroadcastError) AddError(err error)
func (BroadcastError) Error ¶
func (e BroadcastError) Error() string
func (BroadcastError) Errors ¶
func (e BroadcastError) Errors() int
type DatabaseError ¶
type DatabaseError struct {
// contains filtered or unexported fields
}
func AuthenticationError ¶
func AuthenticationError(err error) DatabaseError
func ConnectionError ¶
func ConnectionError(err error) DatabaseError
func NewDatabaseError ¶
func NewDatabaseError(msg string, err error) DatabaseError
func (DatabaseError) Error ¶
func (e DatabaseError) Error() string
type EventError ¶
type EventError struct {
// contains filtered or unexported fields
}
func NewEventError ¶
func NewEventError(eventID int) EventError
func (EventError) Error ¶
func (e EventError) Error() string
type HttpError ¶
func NewBadRequest ¶
func NewForbiddenError ¶
func NewForbiddenError() HttpError
func NewInternalError ¶
func NewNotFoundError ¶
func NewNotFoundError() HttpError
type RingError ¶
type RingError struct {
// contains filtered or unexported fields
}
func NewRingError ¶
type TypeCastError ¶
type TypeCastError struct {
// contains filtered or unexported fields
}
func NewTypeCastError ¶
func NewTypeCastError(varName, typeName string) TypeCastError
func (TypeCastError) Error ¶
func (e TypeCastError) Error() string
Click to show internal directories.
Click to hide internal directories.