access

package
v0.0.0-...-db8c6ed Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error interface {
	errors.CallError
	AccessError() Error
}

Error is an abstract error type for all API access-related errors.

func Msg

func Msg(errMsg string) Error

Msg creates an API access-error which wraps simple message error.

func New

func New(innerErr error) Error

New creates an API access-error which wraps another error.

func Wrap

func Wrap(contextMsg string, causeErr error) Error

Wrap creates an API access-error which provides additional context to another error.

Jump to

Keyboard shortcuts

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