errors

package module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: BSD-2-Clause Imports: 4 Imported by: 0

README

My personal errors package for Go.

Docs

Documentation

Overview

Package errors handles errors my way.

func main() {
    defer func() {
        if errors.Panicked() {
            recover()
            os.Exit(1)
        }
    }()

    // code
}

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExitErr added in v0.3.0

func ExitErr(vars ...interface{})

func PanicErr added in v0.3.0

func PanicErr(vars ...interface{})

func Panicked added in v0.3.0

func Panicked() bool

func WarnErr

func WarnErr(vars ...interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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