Documentation ¶
Overview ¶
Package errors provides an implementation of the error interface used across the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrbitError ¶
type OrbitError struct {
// contains filtered or unexported fields
}
OrbitError is a dead simple implementation of the error interface.
func NewOrbitError ¶
func NewOrbitError(message string) *OrbitError
NewOrbitError creates an instance of OrbitError using a simple message.
func NewOrbitErrorf ¶
func NewOrbitErrorf(message string, args ...interface{}) *OrbitError
NewOrbitErrorf creates an instance of OrbitError using a parametrized message.
func (*OrbitError) Error ¶
func (e *OrbitError) Error() string
Error is the implementation of the function Error from the error interface.
Click to show internal directories.
Click to hide internal directories.