go-ipfs: github.com/ipfs/go-ipfs/core/commands/e Index | Files

package e

import "github.com/ipfs/go-ipfs/core/commands/e"


Package Files


func TypeErr Uses

func TypeErr(expected, actual interface{}) error

TypeErr returns an error with a string that explains what error was expected and what was received.

type HandlerError Uses

type HandlerError struct {
    Err   error
    Stack []byte

HandlerError adds a stack trace to an error

func New Uses

func New(err error) HandlerError

New returns a new HandlerError

func (HandlerError) Error Uses

func (err HandlerError) Error() string

Error makes HandlerError implement error

Package e imports 2 packages (graph) and is imported by 83 packages. Updated 2018-01-21. Refresh now. Tools for package owners.