Documentation ¶
Overview ¶
Package errata is auto-generated by errata Errata Schema Version: 0.1 Hash: c87437d6283730b71c43970b77d9e41e
Index ¶
- Constants
- type Erratum
- type MissingCommandErr
- func (e *MissingCommandErr) Args() map[string]interface{}
- func (e *MissingCommandErr) Categories() []string
- func (e *MissingCommandErr) Code() string
- func (e *MissingCommandErr) Error() string
- func (e *MissingCommandErr) File() string
- func (e *MissingCommandErr) Format(f fmt.State, verb rune)
- func (e *MissingCommandErr) GetHttpResponseCode() string
- func (e *MissingCommandErr) Guide() string
- func (e *MissingCommandErr) HelpURL() string
- func (e *MissingCommandErr) Labels() map[string]string
- func (e *MissingCommandErr) Line() int
- func (e *MissingCommandErr) Message() string
- func (e *MissingCommandErr) UUID() string
- func (e *MissingCommandErr) Unwrap() error
- type ScriptExecutionFailedErr
- func (e *ScriptExecutionFailedErr) Args() map[string]interface{}
- func (e *ScriptExecutionFailedErr) Categories() []string
- func (e *ScriptExecutionFailedErr) Code() string
- func (e *ScriptExecutionFailedErr) Error() string
- func (e *ScriptExecutionFailedErr) File() string
- func (e *ScriptExecutionFailedErr) Format(f fmt.State, verb rune)
- func (e *ScriptExecutionFailedErr) GetHttpResponseCode() string
- func (e *ScriptExecutionFailedErr) Guide() string
- func (e *ScriptExecutionFailedErr) HelpURL() string
- func (e *ScriptExecutionFailedErr) Labels() map[string]string
- func (e *ScriptExecutionFailedErr) Line() int
- func (e *ScriptExecutionFailedErr) Message() string
- func (e *ScriptExecutionFailedErr) UUID() string
- func (e *ScriptExecutionFailedErr) Unwrap() error
- type ScriptNotFoundErr
- func (e *ScriptNotFoundErr) Args() map[string]interface{}
- func (e *ScriptNotFoundErr) Categories() []string
- func (e *ScriptNotFoundErr) Code() string
- func (e *ScriptNotFoundErr) Error() string
- func (e *ScriptNotFoundErr) File() string
- func (e *ScriptNotFoundErr) Format(f fmt.State, verb rune)
- func (e *ScriptNotFoundErr) GetHttpResponseCode() string
- func (e *ScriptNotFoundErr) GetPath() interface{}
- func (e *ScriptNotFoundErr) Guide() string
- func (e *ScriptNotFoundErr) HelpURL() string
- func (e *ScriptNotFoundErr) Labels() map[string]string
- func (e *ScriptNotFoundErr) Line() int
- func (e *ScriptNotFoundErr) Message() string
- func (e *ScriptNotFoundErr) UUID() string
- func (e *ScriptNotFoundErr) Unwrap() error
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) Categories ¶
func (e *MissingCommandErr) Categories() []string
func (*MissingCommandErr) GetHttpResponseCode ¶
func (e *MissingCommandErr) GetHttpResponseCode() string
GetHttpResponseCode returns the "http_response_code" label for a MissingCommandErr instance.
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) GetHttpResponseCode ¶
func (e *ScriptExecutionFailedErr) GetHttpResponseCode() string
GetHttpResponseCode returns the "http_response_code" label for a ScriptExecutionFailedErr instance.
type ScriptNotFoundErr ¶
type ScriptNotFoundErr struct {
// contains filtered or unexported fields
}
func NewScriptNotFoundErr ¶
func NewScriptNotFoundErr(wrapped error, path string) *ScriptNotFoundErr
func (*ScriptNotFoundErr) Categories ¶
func (e *ScriptNotFoundErr) Categories() []string
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.
Click to show internal directories.
Click to hide internal directories.