gcerrors

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package gcerrors provides error handling for the gocache package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	// contains filtered or unexported fields
}

Error is an error that contains a scheme and an error.

func New

func New(err error) *Error

New returns a new error with the given error.

func NewWithScheme

func NewWithScheme(scheme string, err error) *Error

NewWithScheme returns a new error with the given scheme and error.

func (*Error) Error

func (e *Error) Error() string

Error returns the error message.

Jump to

Keyboard shortcuts

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