liberrors

package
v0.0.0-...-d2f83e5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package liberrors contains errors returned by the library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrClientCannotReadPublishAtSameTime

type ErrClientCannotReadPublishAtSameTime struct{}

ErrClientCannotReadPublishAtSameTime is an error that can be returned by a client.

func (ErrClientCannotReadPublishAtSameTime) Error

Error implements the error interface.

type ErrClientCannotSetupTracksDifferentURLs

type ErrClientCannotSetupTracksDifferentURLs struct{}

ErrClientCannotSetupTracksDifferentURLs is an error that can be returned by a client.

func (ErrClientCannotSetupTracksDifferentURLs) Error

Error implements the error interface.

type ErrClientContentTypeMissing

type ErrClientContentTypeMissing struct{}

ErrClientContentTypeMissing is an error that can be returned by a client.

func (ErrClientContentTypeMissing) Error

Error implements the error interface.

type ErrClientContentTypeUnsupported

type ErrClientContentTypeUnsupported struct {
	CT base.HeaderValue
}

ErrClientContentTypeUnsupported is an error that can be returned by a client.

func (ErrClientContentTypeUnsupported) Error

Error implements the error interface.

type ErrClientInvalidState

type ErrClientInvalidState struct {
	AllowedList []fmt.Stringer
	State       fmt.Stringer
}

ErrClientInvalidState is an error that can be returned by a client.

func (ErrClientInvalidState) Error

func (e ErrClientInvalidState) Error() string

Error implements the error interface.

type ErrClientInvalidStatusCode

type ErrClientInvalidStatusCode struct {
	Code    base.StatusCode
	Message string
}

ErrClientInvalidStatusCode is an error that can be returned by a client.

func (ErrClientInvalidStatusCode) Error

Error implements the error interface.

type ErrClientNoUDPPacketsRecently

type ErrClientNoUDPPacketsRecently struct{}

ErrClientNoUDPPacketsRecently is an error that can be returned by a client.

func (ErrClientNoUDPPacketsRecently) Error

Error implements the error interface.

type ErrClientRTPInfoInvalid

type ErrClientRTPInfoInvalid struct {
	Err error
}

ErrClientRTPInfoInvalid is an error that can be returned by a client.

func (ErrClientRTPInfoInvalid) Error

func (e ErrClientRTPInfoInvalid) Error() string

Error implements the error interface.

type ErrClientServerPortsNotProvided

type ErrClientServerPortsNotProvided struct{}

ErrClientServerPortsNotProvided is an error that can be returned by a client.

func (ErrClientServerPortsNotProvided) Error

Error implements the error interface.

type ErrClientSessionHeaderInvalid

type ErrClientSessionHeaderInvalid struct {
	Err error
}

ErrClientSessionHeaderInvalid is an error that can be returned by a client.

func (ErrClientSessionHeaderInvalid) Error

Error implements the error interface.

type ErrClientTCPTimeout

type ErrClientTCPTimeout struct{}

ErrClientTCPTimeout is an error that can be returned by a client.

func (ErrClientTCPTimeout) Error

func (e ErrClientTCPTimeout) Error() string

Error implements the error interface.

type ErrClientTerminated

type ErrClientTerminated struct{}

ErrClientTerminated is an error that can be returned by a client.

func (ErrClientTerminated) Error

func (e ErrClientTerminated) Error() string

Error implements the error interface.

type ErrClientTransportHeaderInterleavedIDsAlreadyUsed

type ErrClientTransportHeaderInterleavedIDsAlreadyUsed struct{}

ErrClientTransportHeaderInterleavedIDsAlreadyUsed is an error that can be returned by a client.

func (ErrClientTransportHeaderInterleavedIDsAlreadyUsed) Error

Error implements the error interface.

type ErrClientTransportHeaderInvalid

type ErrClientTransportHeaderInvalid struct {
	Err error
}

ErrClientTransportHeaderInvalid is an error that can be returned by a client.

func (ErrClientTransportHeaderInvalid) Error

Error implements the error interface.

type ErrClientTransportHeaderInvalidDelivery

type ErrClientTransportHeaderInvalidDelivery struct{}

ErrClientTransportHeaderInvalidDelivery is an error that can be returned by a client.

func (ErrClientTransportHeaderInvalidDelivery) Error

Error implements the error interface.

type ErrClientTransportHeaderInvalidInterleavedIDs

type ErrClientTransportHeaderInvalidInterleavedIDs struct{}

ErrClientTransportHeaderInvalidInterleavedIDs is an error that can be returned by a client.

func (ErrClientTransportHeaderInvalidInterleavedIDs) Error

Error implements the error interface.

type ErrClientTransportHeaderNoDestination

type ErrClientTransportHeaderNoDestination struct{}

ErrClientTransportHeaderNoDestination is an error that can be returned by a client.

func (ErrClientTransportHeaderNoDestination) Error

Error implements the error interface.

type ErrClientTransportHeaderNoInterleavedIDs

type ErrClientTransportHeaderNoInterleavedIDs struct{}

ErrClientTransportHeaderNoInterleavedIDs is an error that can be returned by a client.

func (ErrClientTransportHeaderNoInterleavedIDs) Error

Error implements the error interface.

type ErrClientTransportHeaderNoPorts

type ErrClientTransportHeaderNoPorts struct{}

ErrClientTransportHeaderNoPorts is an error that can be returned by a client.

func (ErrClientTransportHeaderNoPorts) Error

Error implements the error interface.

type ErrClientUDPPortsNotConsecutive

type ErrClientUDPPortsNotConsecutive struct{}

ErrClientUDPPortsNotConsecutive is an error that can be returned by a client.

func (ErrClientUDPPortsNotConsecutive) Error

Error implements the error interface.

type ErrClientUDPPortsZero

type ErrClientUDPPortsZero struct{}

ErrClientUDPPortsZero is an error that can be returned by a client.

func (ErrClientUDPPortsZero) Error

func (e ErrClientUDPPortsZero) Error() string

Error implements the error interface.

type ErrClientUDPTimeout

type ErrClientUDPTimeout struct{}

ErrClientUDPTimeout is an error that can be returned by a client.

func (ErrClientUDPTimeout) Error

func (e ErrClientUDPTimeout) Error() string

Error implements the error interface.

type ErrServerCSeqMissing

type ErrServerCSeqMissing struct{}

ErrServerCSeqMissing is an error that can be returned by a server.

func (ErrServerCSeqMissing) Error

func (e ErrServerCSeqMissing) Error() string

Error implements the error interface.

type ErrServerContentTypeMissing

type ErrServerContentTypeMissing struct{}

ErrServerContentTypeMissing is an error that can be returned by a server.

func (ErrServerContentTypeMissing) Error

Error implements the error interface.

type ErrServerContentTypeUnsupported

type ErrServerContentTypeUnsupported struct {
	CT base.HeaderValue
}

ErrServerContentTypeUnsupported is an error that can be returned by a server.

func (ErrServerContentTypeUnsupported) Error

Error implements the error interface.

type ErrServerInvalidPath

type ErrServerInvalidPath struct{}

ErrServerInvalidPath is an error that can be returned by a server.

func (ErrServerInvalidPath) Error

func (e ErrServerInvalidPath) Error() string

Error implements the error interface.

type ErrServerInvalidSession

type ErrServerInvalidSession struct{}

ErrServerInvalidSession is an error that can be returned by a server.

func (ErrServerInvalidSession) Error

func (e ErrServerInvalidSession) Error() string

Error implements the error interface.

type ErrServerInvalidState

type ErrServerInvalidState struct {
	AllowedList []fmt.Stringer
	State       fmt.Stringer
}

ErrServerInvalidState is an error that can be returned by a server.

func (ErrServerInvalidState) Error

func (e ErrServerInvalidState) Error() string

Error implements the error interface.

type ErrServerLinkedToOtherSession

type ErrServerLinkedToOtherSession struct{}

ErrServerLinkedToOtherSession is an error that can be returned by a server.

func (ErrServerLinkedToOtherSession) Error

Error implements the error interface.

type ErrServerNoTracksSetup

type ErrServerNoTracksSetup struct{}

ErrServerNoTracksSetup is an error that can be returned by a server.

func (ErrServerNoTracksSetup) Error

func (e ErrServerNoTracksSetup) Error() string

Error implements the error interface.

type ErrServerNoUDPPacketsRecently

type ErrServerNoUDPPacketsRecently struct{}

ErrServerNoUDPPacketsRecently is an error that can be returned by a server.

func (ErrServerNoUDPPacketsRecently) Error

Error implements the error interface.

type ErrServerNotAllAnnouncedTracksSetup

type ErrServerNotAllAnnouncedTracksSetup struct{}

ErrServerNotAllAnnouncedTracksSetup is an error that can be returned by a server.

func (ErrServerNotAllAnnouncedTracksSetup) Error

Error implements the error interface.

type ErrServerPathHasChanged

type ErrServerPathHasChanged struct {
	Prev string
	Cur  string
}

ErrServerPathHasChanged is an error that can be returned by a server.

func (ErrServerPathHasChanged) Error

func (e ErrServerPathHasChanged) Error() string

Error implements the error interface.

type ErrServerSDPInvalid

type ErrServerSDPInvalid struct {
	Err error
}

ErrServerSDPInvalid is an error that can be returned by a server.

func (ErrServerSDPInvalid) Error

func (e ErrServerSDPInvalid) Error() string

Error implements the error interface.

type ErrServerSDPNoTracksDefined

type ErrServerSDPNoTracksDefined struct{}

ErrServerSDPNoTracksDefined is an error that can be returned by a server.

func (ErrServerSDPNoTracksDefined) Error

Error implements the error interface.

type ErrServerSessionLinkedToOtherConn

type ErrServerSessionLinkedToOtherConn struct{}

ErrServerSessionLinkedToOtherConn is an error that can be returned by a server.

func (ErrServerSessionLinkedToOtherConn) Error

Error implements the error interface.

type ErrServerSessionNotFound

type ErrServerSessionNotFound struct{}

ErrServerSessionNotFound is an error that can be returned by a server.

func (ErrServerSessionNotFound) Error

func (e ErrServerSessionNotFound) Error() string

Error implements the error interface.

type ErrServerSessionTeardown

type ErrServerSessionTeardown struct{}

ErrServerSessionTeardown is an error that can be returned by a server.

func (ErrServerSessionTeardown) Error

func (e ErrServerSessionTeardown) Error() string

Error implements the error interface.

type ErrServerSessionTimedOut

type ErrServerSessionTimedOut struct{}

ErrServerSessionTimedOut is an error that can be returned by a server.

func (ErrServerSessionTimedOut) Error

func (e ErrServerSessionTimedOut) Error() string

Error implements the error interface.

type ErrServerTCPFramesDisable

type ErrServerTCPFramesDisable struct{}

ErrServerTCPFramesDisable is an error that can be returned by a server.

func (ErrServerTCPFramesDisable) Error

Error implements the error interface.

type ErrServerTCPFramesEnable

type ErrServerTCPFramesEnable struct{}

ErrServerTCPFramesEnable is an error that can be returned by a server.

func (ErrServerTCPFramesEnable) Error

func (e ErrServerTCPFramesEnable) Error() string

Error implements the error interface.

type ErrServerTerminated

type ErrServerTerminated struct{}

ErrServerTerminated is an error that can be returned by a server.

func (ErrServerTerminated) Error

func (e ErrServerTerminated) Error() string

Error implements the error interface.

type ErrServerTrackAlreadySetup

type ErrServerTrackAlreadySetup struct {
	TrackID int
}

ErrServerTrackAlreadySetup is an error that can be returned by a server.

func (ErrServerTrackAlreadySetup) Error

Error implements the error interface.

type ErrServerTracksDifferentProtocols

type ErrServerTracksDifferentProtocols struct{}

ErrServerTracksDifferentProtocols is an error that can be returned by a server.

func (ErrServerTracksDifferentProtocols) Error

Error implements the error interface.

type ErrServerTransportHeaderInterleavedIDsAlreadyUsed

type ErrServerTransportHeaderInterleavedIDsAlreadyUsed struct{}

ErrServerTransportHeaderInterleavedIDsAlreadyUsed is an error that can be returned by a server.

func (ErrServerTransportHeaderInterleavedIDsAlreadyUsed) Error

Error implements the error interface.

type ErrServerTransportHeaderInvalid

type ErrServerTransportHeaderInvalid struct {
	Err error
}

ErrServerTransportHeaderInvalid is an error that can be returned by a server.

func (ErrServerTransportHeaderInvalid) Error

Error implements the error interface.

type ErrServerTransportHeaderInvalidInterleavedIDs

type ErrServerTransportHeaderInvalidInterleavedIDs struct{}

ErrServerTransportHeaderInvalidInterleavedIDs is an error that can be returned by a server.

func (ErrServerTransportHeaderInvalidInterleavedIDs) Error

Error implements the error interface.

type ErrServerTransportHeaderInvalidMode

type ErrServerTransportHeaderInvalidMode struct {
	Mode *headers.TransportMode
}

ErrServerTransportHeaderInvalidMode is an error that can be returned by a server.

func (ErrServerTransportHeaderInvalidMode) Error

Error implements the error interface.

type ErrServerTransportHeaderNoClientPorts

type ErrServerTransportHeaderNoClientPorts struct{}

ErrServerTransportHeaderNoClientPorts is an error that can be returned by a server.

func (ErrServerTransportHeaderNoClientPorts) Error

Error implements the error interface.

type ErrServerTransportHeaderNoInterleavedIDs

type ErrServerTransportHeaderNoInterleavedIDs struct{}

ErrServerTransportHeaderNoInterleavedIDs is an error that can be returned by a server.

func (ErrServerTransportHeaderNoInterleavedIDs) Error

Error implements the error interface.

type ErrServerUnhandledRequest

type ErrServerUnhandledRequest struct {
	Req *base.Request
}

ErrServerUnhandledRequest is an error that can be returned by a server.

func (ErrServerUnhandledRequest) Error

Error implements the error interface.

Jump to

Keyboard shortcuts

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