errors

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: Apache-2.0 Imports: 2 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

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoConfig            = errors.New("missing config")
	ErrInvalidRPC          = errors.New("invalid request")
	ErrGhostPadFailed      = errors.New("failed to add ghost pad to bin")
	ErrStreamAlreadyExists = errors.New("stream already exists")
	ErrStreamNotFound      = errors.New("stream not found")

	GErrNoURI            = "No URI set before starting"
	GErrFailedToStart    = "Failed to start"
	GErrCouldNotConnect  = "Could not connect to RTMP stream"
	GErrStreamingStopped = "streaming stopped, reason error (-5)"
)

Functions

func ErrCouldNotParseConfig

func ErrCouldNotParseConfig(err error) error

func ErrIncompatible

func ErrIncompatible(format, codec interface{}) error

func ErrInvalidInput

func ErrInvalidInput(field string) error

func ErrInvalidUrl

func ErrInvalidUrl(url, protocol string) error

func ErrNotSupported

func ErrNotSupported(feature string) error

func ErrPadLinkFailed

func ErrPadLinkFailed(pad, status string) error

func ErrTrackNotFound

func ErrTrackNotFound(trackID string) error

func ErrUploadFailed

func ErrUploadFailed(location string, err error) string

func ErrWebSocketClosed

func ErrWebSocketClosed(addr string) error

func Is

func Is(err, target error) bool

func New

func New(err string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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