errors

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginInvalidInputError = "PluginInvalidInputError"
	PluginRunError          = "PluginRunError"
	PluginInvalidIOError    = "PluginInvalidIOError"
)

Variables

This section is empty.

Functions

func IsInvalidIOError

func IsInvalidIOError(err error) bool

func IsInvalidInputError

func IsInvalidInputError(err error) bool

func IsPluginRunError

func IsPluginRunError(err error) bool

Types

type PluginError

type PluginError struct {
	Type         string `json:"type"`
	Message      string `json:"message"`
	ErrorMessage string `json:"error"`
}

func (*PluginError) Error

func (p *PluginError) Error() string

Jump to

Keyboard shortcuts

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