errorsutil

package
v0.0.0-...-2c87074 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Unlicense Imports: 5 Imported by: 0

Documentation

Overview

Package errorsutil implements some errors utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(format string, a ...interface{}) error

Errorf returns a new error string, based on the provided format string, using the following format:

pkg.func (file:line): error: text

func ErrorfColor

func ErrorfColor(format string, a ...interface{}) error

ErrorfColor returns a new colorful error string, based on the provided format string, using the following format:

pkg.func (file:line): error: text

func New

func New(text string) error

New returns a new error string using the following format:

pkg.func (file:line): error: text

func NewColor

func NewColor(text string) error

NewColor returns a new colorful error string using the following format:

pkg.func (file:line): error: text

Types

This section is empty.

Jump to

Keyboard shortcuts

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