package utils

import "github.com/gohugoio/hugo/utils"

Index

Functions

func CheckErr

func CheckErr(err error, s ...string)

CheckErr logs the messages given and then the error. TODO(bep) Remove this package.

func StopOnErr

func StopOnErr(err error, s ...string)

StopOnErr exits on any error after logging it.

Source Files

utils.go

Version
v0.18.1
Published
Dec 29, 2016
Platform
js/wasm
Imports
2 packages
Last checked
1 minute ago

Tools for package owners.