errof

package
v0.13.8 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: AGPL-3.0 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 struct {
	Code    ErrorCode
	Message string
}

Error is vuls error

func New

func New(code ErrorCode, msg string) Error

New :

func (Error) Error

func (e Error) Error() string

type ErrorCode

type ErrorCode string

ErrorCode is vuls error code

var (
	// ErrFailedToAccessGithubAPI is error of github alert's api access
	ErrFailedToAccessGithubAPI ErrorCode = "ErrFailedToAccessGithubAPI"
)

Jump to

Keyboard shortcuts

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