Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNotImplementedError ¶
Constructor for NotImplementedError
Types ¶
type CommandError ¶ added in v0.3.0
type CommandError struct { ExitCode int CommonError string Result shared.GenericLaunchesResult }
CommandError represents an error that occurred during plugin execution, storing relevant results.
func NewCommandError ¶ added in v0.3.0
func NewCommandError(args interface{}, result interface{}, err error, code int) *CommandError
NewCommandError creates a new CommandError instance, encapsulating args, result, and the error message.
func NewCommandErrorWithResult ¶ added in v0.3.0
func NewCommandErrorWithResult(launches shared.GenericLaunchesResult, err error, code int) *CommandError
NewCommandErrorWithResult creates a new CommandError with a pre-formed GenericLaunchesResult.
func (*CommandError) Error ¶ added in v0.3.0
func (e *CommandError) Error() string
Error implements the error interface, returning the message from the common error.
type NotImplementedError ¶
Custom error type for not implemented errors
func (*NotImplementedError) Error ¶
func (e *NotImplementedError) Error() string
Implement the error interface for NotImplementedError
Click to show internal directories.
Click to hide internal directories.