buferrs

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package buferrs provides error functionality for Buf.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsUserError

func IsUserError(err error) bool

IsUserError returns true if err is a user error.

Returns false if err == nil.

func NewSystemError

func NewSystemError(message string) error

NewSystemError returns a new system error.

func NewSystemErrorf

func NewSystemErrorf(format string, args ...interface{}) error

NewSystemErrorf returns a new system error.

func NewUserError

func NewUserError(message string) error

NewUserError returns a new user error.

func NewUserErrorf

func NewUserErrorf(format string, args ...interface{}) error

NewUserErrorf returns a new user error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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