wakaerror

package
v1.107.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error interface {
	// ExitCode returns the exit code for the error.
	ExitCode() int
	// Message returns the error message.
	Message() string
	// SendDiagsOnErrors returns true when diagnostics should be sent on error.
	SendDiagsOnErrors() bool
	// ShouldLogError returns true when error should be logged.
	ShouldLogError() bool
	error
}

Error is a custom error interface.

type LogLevel added in v1.106.0

type LogLevel interface {
	// LogLevel returns the log level for the error.
	LogLevel() int8
}

LogLevel is a custom log level interface to return log level for error.

Jump to

Keyboard shortcuts

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