errorsx

package
Version: v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type String

type String string

String representing an error, useful for declaring string constants as errors.

func (String) Error

func (t String) Error() string

func (String) Is added in v0.7.4

func (t String) Is(target error) bool

Is reports whether String matches with the target error

Source Files

Jump to

Keyboard shortcuts

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