except

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: Apache-2.0 Imports: 5 Imported by: 5

Documentation

Overview

Package except defines functions that log a warning or error message, and for fatal errors will quit program execution with an exit status.

Index

Constants

View Source
const (
	// ErrorExitStatus is the default exit status in an error condition.
	ErrorExitStatus = 4
)

Variables

This section is empty.

Functions

func Error

func Error(arg0 interface{}, args ...interface{})

Error logs an error message and generates a config.BanyanUpdate.

func Fail

func Fail(arg0 interface{}, args ...interface{})

Fail prints an error message at blog.ERROR level and then quits with exit status ErrorExitStatus.

func Warn

func Warn(arg0 interface{}, args ...interface{})

Warn logs a warning message and generates a config.BanyanUpdate.

Types

This section is empty.

Jump to

Keyboard shortcuts

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