Documentation ¶
Index ¶
- Variables
- func As(err error, target any) bool
- func ErrCouldNotParseConfig(err error) error
- func ErrGstPipelineError(err error) error
- func ErrIncompatible(format, codec interface{}) error
- func ErrInvalidInput(field string) error
- func ErrInvalidUrl(url string, reason string) error
- func ErrNotSupported(feature string) error
- func ErrPadLinkFailed(src, sink, status string) error
- func ErrProcessStartFailed(err error) error
- func ErrStreamNotFound(url string) error
- func ErrTrackNotFound(trackID string) error
- func ErrUploadFailed(location string, err error) error
- func ErrWebsocketClosed(addr string) error
- func Fatal(err error) error
- func Is(err, target error) bool
- func IsFatal(err error) bool
- func New(err string) error
- type ErrArray
- type FatalError
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoConfig = psrpc.NewErrorf(psrpc.Internal, "missing config") ErrInvalidRPC = psrpc.NewErrorf(psrpc.MalformedRequest, "invalid request") ErrGhostPadFailed = psrpc.NewErrorf(psrpc.Internal, "failed to add ghost pad to bin") ErrStreamAlreadyExists = psrpc.NewErrorf(psrpc.AlreadyExists, "stream already exists") ErrNonStreamingPipeline = psrpc.NewErrorf(psrpc.InvalidArgument, "UpdateStream called on non-streaming egress") ErrEgressNotFound = psrpc.NewErrorf(psrpc.NotFound, "egress not found") ErrProfileNotFound = psrpc.NewErrorf(psrpc.NotFound, "profile not found") )
Functions ¶
func ErrCouldNotParseConfig ¶
func ErrGstPipelineError ¶ added in v1.5.5
func ErrIncompatible ¶
func ErrIncompatible(format, codec interface{}) error
func ErrInvalidInput ¶
func ErrInvalidUrl ¶
func ErrNotSupported ¶
func ErrPadLinkFailed ¶
func ErrProcessStartFailed ¶ added in v1.5.5
func ErrStreamNotFound ¶
func ErrTrackNotFound ¶
func ErrUploadFailed ¶
This can have many reasons, some related to invalid parameters, other because of system failure. Do not provide an error code until we have code to analyze the error from the underlying upload library further.
func ErrWebsocketClosed ¶ added in v1.5.6
Types ¶
type FatalError ¶ added in v1.5.3
type FatalError struct {
// contains filtered or unexported fields
}
func (*FatalError) Error ¶ added in v1.5.3
func (e *FatalError) Error() string
func (*FatalError) Unwrap ¶ added in v1.5.5
func (e *FatalError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.