errors

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SError

type SError struct {
	Type    int
	Message string
}

SError is like an error but just holds error types

func New added in v0.3.0

func New(Type int, message ...string) *SError

New returns a new Error of the given type

func (*SError) Error added in v0.2.2

func (s *SError) Error() string

Error returns a string representing the error

Jump to

Keyboard shortcuts

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