errors

package
v1.41.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT, BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package errors implements functions to manipulate errors.

Index

Constants

This section is empty.

Variables

View Source
var Error = errors.New("temporalprotobuf error")

Error is a sentinel matching all errors produced by this package.

Functions

func InvalidUTF8

func InvalidUTF8(name string) error

func New

func New(f string, x ...interface{}) error

New formats a string according to the format specifier and arguments and returns an error that has a "temporalproto" prefix.

func RequiredNotSet

func RequiredNotSet(name string) error

func Wrap

func Wrap(err error, f string, x ...interface{}) error

Wrap returns an error that has a "proto" prefix, the formatted string described by the format specifier and arguments, and a suffix of err. The error wraps err.

Types

This section is empty.

Jump to

Keyboard shortcuts

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