errata

package
v0.0.0-...-5b42417 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package errata is auto-generated by errata Errata Schema Version: 0.1 Hash: c87437d6283730b71c43970b77d9e41e

Index

Constants

View Source
const (
	MissingCommandErrCode        string = "missing-command"
	ScriptExecutionFailedErrCode string = "script-execution-failed"
	ScriptNotFoundErrCode        string = "script-not-found"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Erratum

type Erratum interface {
	// behave like a regular error
	error
	Unwrap() error

	Code() string
	Message() string
	Categories() []string
	Args() map[string]interface{}
	Guide() string
	Labels() map[string]string

	UUID() string
	HelpURL() string
}

Erratum is the public interface which indicates that a given error is an Erratum.

type MissingCommandErr

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

func NewMissingCommandErr

func NewMissingCommandErr(wrapped error) *MissingCommandErr

func (*MissingCommandErr) Args

func (e *MissingCommandErr) Args() map[string]interface{}

func (*MissingCommandErr) Categories

func (e *MissingCommandErr) Categories() []string

func (*MissingCommandErr) Code

func (e *MissingCommandErr) Code() string

func (*MissingCommandErr) Error

func (e *MissingCommandErr) Error() string

func (*MissingCommandErr) File

func (e *MissingCommandErr) File() string

func (*MissingCommandErr) Format

func (e *MissingCommandErr) Format(f fmt.State, verb rune)

Format controls the verbosity of the printed error.

func (*MissingCommandErr) GetHttpResponseCode

func (e *MissingCommandErr) GetHttpResponseCode() string

GetHttpResponseCode returns the "http_response_code" label for a MissingCommandErr instance.

func (*MissingCommandErr) Guide

func (e *MissingCommandErr) Guide() string

func (*MissingCommandErr) HelpURL

func (e *MissingCommandErr) HelpURL() string

func (*MissingCommandErr) Labels

func (e *MissingCommandErr) Labels() map[string]string

func (*MissingCommandErr) Line

func (e *MissingCommandErr) Line() int

func (*MissingCommandErr) Message

func (e *MissingCommandErr) Message() string

func (*MissingCommandErr) UUID

func (e *MissingCommandErr) UUID() string

func (*MissingCommandErr) Unwrap

func (e *MissingCommandErr) Unwrap() error

type ScriptExecutionFailedErr

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

func NewScriptExecutionFailedErr

func NewScriptExecutionFailedErr(wrapped error) *ScriptExecutionFailedErr

func (*ScriptExecutionFailedErr) Args

func (e *ScriptExecutionFailedErr) Args() map[string]interface{}

func (*ScriptExecutionFailedErr) Categories

func (e *ScriptExecutionFailedErr) Categories() []string

func (*ScriptExecutionFailedErr) Code

func (e *ScriptExecutionFailedErr) Code() string

func (*ScriptExecutionFailedErr) Error

func (e *ScriptExecutionFailedErr) Error() string

func (*ScriptExecutionFailedErr) File

func (e *ScriptExecutionFailedErr) File() string

func (*ScriptExecutionFailedErr) Format

func (e *ScriptExecutionFailedErr) Format(f fmt.State, verb rune)

Format controls the verbosity of the printed error.

func (*ScriptExecutionFailedErr) GetHttpResponseCode

func (e *ScriptExecutionFailedErr) GetHttpResponseCode() string

GetHttpResponseCode returns the "http_response_code" label for a ScriptExecutionFailedErr instance.

func (*ScriptExecutionFailedErr) Guide

func (e *ScriptExecutionFailedErr) Guide() string

func (*ScriptExecutionFailedErr) HelpURL

func (e *ScriptExecutionFailedErr) HelpURL() string

func (*ScriptExecutionFailedErr) Labels

func (e *ScriptExecutionFailedErr) Labels() map[string]string

func (*ScriptExecutionFailedErr) Line

func (e *ScriptExecutionFailedErr) Line() int

func (*ScriptExecutionFailedErr) Message

func (e *ScriptExecutionFailedErr) Message() string

func (*ScriptExecutionFailedErr) UUID

func (e *ScriptExecutionFailedErr) UUID() string

func (*ScriptExecutionFailedErr) Unwrap

func (e *ScriptExecutionFailedErr) Unwrap() error

type ScriptNotFoundErr

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

func NewScriptNotFoundErr

func NewScriptNotFoundErr(wrapped error, path string) *ScriptNotFoundErr

func (*ScriptNotFoundErr) Args

func (e *ScriptNotFoundErr) Args() map[string]interface{}

func (*ScriptNotFoundErr) Categories

func (e *ScriptNotFoundErr) Categories() []string

func (*ScriptNotFoundErr) Code

func (e *ScriptNotFoundErr) Code() string

func (*ScriptNotFoundErr) Error

func (e *ScriptNotFoundErr) Error() string

func (*ScriptNotFoundErr) File

func (e *ScriptNotFoundErr) File() string

func (*ScriptNotFoundErr) Format

func (e *ScriptNotFoundErr) Format(f fmt.State, verb rune)

Format controls the verbosity of the printed error.

func (*ScriptNotFoundErr) GetHttpResponseCode

func (e *ScriptNotFoundErr) GetHttpResponseCode() string

GetHttpResponseCode returns the "http_response_code" label for a ScriptNotFoundErr instance.

func (*ScriptNotFoundErr) GetPath

func (e *ScriptNotFoundErr) GetPath() interface{}

GetPath returns the "path" argument for a ScriptNotFoundErr instance.

func (*ScriptNotFoundErr) Guide

func (e *ScriptNotFoundErr) Guide() string

func (*ScriptNotFoundErr) HelpURL

func (e *ScriptNotFoundErr) HelpURL() string

func (*ScriptNotFoundErr) Labels

func (e *ScriptNotFoundErr) Labels() map[string]string

func (*ScriptNotFoundErr) Line

func (e *ScriptNotFoundErr) Line() int

func (*ScriptNotFoundErr) Message

func (e *ScriptNotFoundErr) Message() string

func (*ScriptNotFoundErr) UUID

func (e *ScriptNotFoundErr) UUID() string

func (*ScriptNotFoundErr) Unwrap

func (e *ScriptNotFoundErr) Unwrap() error

Jump to

Keyboard shortcuts

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