problem

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package problem helps deliver actionable feedback to a user based on an error message.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Problem

type Problem struct {
	ID     string
	Err    error
	Advice string
	URL    string
	Issues []int
}

Problem represents a known problem in minikube.

func FromError

func FromError(err error) *Problem

FromError returns a known problem from an error.

func (*Problem) Display

func (p *Problem) Display()

Display problem metadata to the console

Jump to

Keyboard shortcuts

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