Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCorrupted = errors.New("corrupted state")
View Source
var ErrInitialization = errors.New("wrong initialization")
View Source
var ErrInvalidPath = errors.New("invalid path")
View Source
var ErrPermissionDenied = errors.New("permission denied")
View Source
var Seperator = "\n\t"
Functions ¶
func ShouldPanic ¶
func ShouldStop ¶
Types ¶
type Error ¶
type Level ¶
type Level uint8
Level defines severity of error. None of these levels will not abruptly halt the program, use panic() for that usecase Error levels actually start from Warn Use Fatal to gracefully stop the program Use Panic to print stack trace Trace, Debug, Info are there for future just in case we need them
Click to show internal directories.
Click to hide internal directories.