error

package
v2.0.8+incompatible Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: AGPL-3.0 Imports: 3 Imported by: 17

Documentation

Overview

Package error creates and parses common errors

Index

Constants

This section is empty.

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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