error

package
v2.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package error creates and parses common errors

Index

Constants

View Source
const (
	ErrServiceStartNeedsRetry = "ErrServiceStartNeedsRetry"
)

Variables

This section is empty.

Functions

func IsErrorPortBusy

func IsErrorPortBusy(err error) bool

IsErrorPortBusy checks wether the passed error fits with the error returned when trying to bind a port that is already in use.

func IsErrorPortPermissionDenied

func IsErrorPortPermissionDenied(err error) (bool, int)

IsErrorPortPermissionDenied checks wether the passed error fits with the error returned when we cannot bind a protected port that is below 1024.

func IsServiceStartNeedsRetry

func IsServiceStartNeedsRetry(err error) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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