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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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