erroru

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

@Time : 2019-11-11 13:43 @Author : zr

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(srcRootPath string) (err error)

Types

type StdError

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

func AddInfo

func AddInfo(msg string, err error) *StdError

func StdErrorFrom

func StdErrorFrom(err error) (stdErr *StdError)

func Warp

func Warp(err error) *StdError

func (*StdError) Error

func (s *StdError) Error() string

func (*StdError) ErrorWithTrace

func (s *StdError) ErrorWithTrace() string

func (*StdError) Unwrap

func (s *StdError) Unwrap() error

Jump to

Keyboard shortcuts

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