errors

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

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