error_handling

package
v0.0.0-...-88e5d9c Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fatal

func Fatal(err error, message ...string)

Fatal is a function that receives the error and handles it according to the condition by printing a log equivalent to Println() followed by a call to os.Exit(1).

func Panic

func Panic(err error, message ...string)

Panic is a function that receives the error and handles it according to the condition by printing a log equivalent to fmt.Println() followed by a call to panic().

Types

This section is empty.

Jump to

Keyboard shortcuts

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