error

package
v3.3.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package error 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL