Documentation ¶
Overview ¶
Package liberrors contains errors returned by the library.
Index ¶
- type ErrClientCannotReadPublishAtSameTime
- type ErrClientCannotSetupTracksDifferentURLs
- type ErrClientContentTypeMissing
- type ErrClientContentTypeUnsupported
- type ErrClientInvalidState
- type ErrClientInvalidStatusCode
- type ErrClientNoUDPPacketsRecently
- type ErrClientRTPInfoInvalid
- type ErrClientServerPortsNotProvided
- type ErrClientSessionHeaderInvalid
- type ErrClientTCPTimeout
- type ErrClientTerminated
- type ErrClientTransportHeaderInterleavedIDsAlreadyUsed
- type ErrClientTransportHeaderInvalid
- type ErrClientTransportHeaderInvalidDelivery
- type ErrClientTransportHeaderInvalidInterleavedIDs
- type ErrClientTransportHeaderNoDestination
- type ErrClientTransportHeaderNoInterleavedIDs
- type ErrClientTransportHeaderNoPorts
- type ErrClientUDPPortsNotConsecutive
- type ErrClientUDPPortsZero
- type ErrClientUDPTimeout
- type ErrServerCSeqMissing
- type ErrServerContentTypeMissing
- type ErrServerContentTypeUnsupported
- type ErrServerInvalidPath
- type ErrServerInvalidSession
- type ErrServerInvalidState
- type ErrServerLinkedToOtherSession
- type ErrServerNoTracksSetup
- type ErrServerNoUDPPacketsRecently
- type ErrServerNotAllAnnouncedTracksSetup
- type ErrServerPathHasChanged
- type ErrServerSDPInvalid
- type ErrServerSDPNoTracksDefined
- type ErrServerSessionLinkedToOtherConn
- type ErrServerSessionNotFound
- type ErrServerSessionTeardown
- type ErrServerSessionTimedOut
- type ErrServerTCPFramesDisable
- type ErrServerTCPFramesEnable
- type ErrServerTerminated
- type ErrServerTrackAlreadySetup
- type ErrServerTracksDifferentProtocols
- type ErrServerTransportHeaderInterleavedIDsAlreadyUsed
- type ErrServerTransportHeaderInvalid
- type ErrServerTransportHeaderInvalidInterleavedIDs
- type ErrServerTransportHeaderInvalidMode
- type ErrServerTransportHeaderNoClientPorts
- type ErrServerTransportHeaderNoInterleavedIDs
- type ErrServerUnhandledRequest
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 ¶
func (e ErrClientCannotReadPublishAtSameTime) Error() string
Error implements the error interface.
type ErrClientCannotSetupTracksDifferentURLs ¶
type ErrClientCannotSetupTracksDifferentURLs struct{}
ErrClientCannotSetupTracksDifferentURLs is an error that can be returned by a client.
func (ErrClientCannotSetupTracksDifferentURLs) Error ¶
func (e ErrClientCannotSetupTracksDifferentURLs) Error() string
Error implements the error interface.
type ErrClientContentTypeMissing ¶
type ErrClientContentTypeMissing struct{}
ErrClientContentTypeMissing is an error that can be returned by a client.
func (ErrClientContentTypeMissing) Error ¶
func (e ErrClientContentTypeMissing) Error() string
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 ¶
func (e ErrClientContentTypeUnsupported) Error() string
Error implements the error interface.
type ErrClientInvalidState ¶
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 ¶
func (e ErrClientInvalidStatusCode) Error() string
Error implements the error interface.
type ErrClientNoUDPPacketsRecently ¶
type ErrClientNoUDPPacketsRecently struct{}
ErrClientNoUDPPacketsRecently is an error that can be returned by a client.
func (ErrClientNoUDPPacketsRecently) Error ¶
func (e ErrClientNoUDPPacketsRecently) Error() string
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 ¶
func (e ErrClientServerPortsNotProvided) Error() string
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 ¶
func (e ErrClientSessionHeaderInvalid) Error() string
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 ¶
func (e ErrClientTransportHeaderInterleavedIDsAlreadyUsed) Error() string
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 ¶
func (e ErrClientTransportHeaderInvalid) Error() string
Error implements the error interface.
type ErrClientTransportHeaderInvalidDelivery ¶
type ErrClientTransportHeaderInvalidDelivery struct{}
ErrClientTransportHeaderInvalidDelivery is an error that can be returned by a client.
func (ErrClientTransportHeaderInvalidDelivery) Error ¶
func (e ErrClientTransportHeaderInvalidDelivery) Error() string
Error implements the error interface.
type ErrClientTransportHeaderInvalidInterleavedIDs ¶
type ErrClientTransportHeaderInvalidInterleavedIDs struct{}
ErrClientTransportHeaderInvalidInterleavedIDs is an error that can be returned by a client.
func (ErrClientTransportHeaderInvalidInterleavedIDs) Error ¶
func (e ErrClientTransportHeaderInvalidInterleavedIDs) Error() string
Error implements the error interface.
type ErrClientTransportHeaderNoDestination ¶
type ErrClientTransportHeaderNoDestination struct{}
ErrClientTransportHeaderNoDestination is an error that can be returned by a client.
func (ErrClientTransportHeaderNoDestination) Error ¶
func (e ErrClientTransportHeaderNoDestination) Error() string
Error implements the error interface.
type ErrClientTransportHeaderNoInterleavedIDs ¶
type ErrClientTransportHeaderNoInterleavedIDs struct{}
ErrClientTransportHeaderNoInterleavedIDs is an error that can be returned by a client.
func (ErrClientTransportHeaderNoInterleavedIDs) Error ¶
func (e ErrClientTransportHeaderNoInterleavedIDs) Error() string
Error implements the error interface.
type ErrClientTransportHeaderNoPorts ¶
type ErrClientTransportHeaderNoPorts struct{}
ErrClientTransportHeaderNoPorts is an error that can be returned by a client.
func (ErrClientTransportHeaderNoPorts) Error ¶
func (e ErrClientTransportHeaderNoPorts) Error() string
Error implements the error interface.
type ErrClientUDPPortsNotConsecutive ¶
type ErrClientUDPPortsNotConsecutive struct{}
ErrClientUDPPortsNotConsecutive is an error that can be returned by a client.
func (ErrClientUDPPortsNotConsecutive) Error ¶
func (e ErrClientUDPPortsNotConsecutive) Error() string
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 ¶
func (e ErrServerContentTypeMissing) Error() string
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 ¶
func (e ErrServerContentTypeUnsupported) Error() string
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 ¶
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 ¶
func (e ErrServerLinkedToOtherSession) Error() string
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 ¶
func (e ErrServerNoUDPPacketsRecently) Error() string
Error implements the error interface.
type ErrServerNotAllAnnouncedTracksSetup ¶
type ErrServerNotAllAnnouncedTracksSetup struct{}
ErrServerNotAllAnnouncedTracksSetup is an error that can be returned by a server.
func (ErrServerNotAllAnnouncedTracksSetup) Error ¶
func (e ErrServerNotAllAnnouncedTracksSetup) Error() string
Error implements the error interface.
type ErrServerPathHasChanged ¶
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 ¶
func (e ErrServerSDPNoTracksDefined) Error() string
Error implements the error interface.
type ErrServerSessionLinkedToOtherConn ¶
type ErrServerSessionLinkedToOtherConn struct{}
ErrServerSessionLinkedToOtherConn is an error that can be returned by a server.
func (ErrServerSessionLinkedToOtherConn) Error ¶
func (e ErrServerSessionLinkedToOtherConn) Error() string
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 ¶
func (e ErrServerTCPFramesDisable) Error() string
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 ¶
func (e ErrServerTrackAlreadySetup) Error() string
Error implements the error interface.
type ErrServerTracksDifferentProtocols ¶
type ErrServerTracksDifferentProtocols struct{}
ErrServerTracksDifferentProtocols is an error that can be returned by a server.
func (ErrServerTracksDifferentProtocols) Error ¶
func (e ErrServerTracksDifferentProtocols) Error() string
Error implements the error interface.
type ErrServerTransportHeaderInterleavedIDsAlreadyUsed ¶
type ErrServerTransportHeaderInterleavedIDsAlreadyUsed struct{}
ErrServerTransportHeaderInterleavedIDsAlreadyUsed is an error that can be returned by a server.
func (ErrServerTransportHeaderInterleavedIDsAlreadyUsed) Error ¶
func (e ErrServerTransportHeaderInterleavedIDsAlreadyUsed) Error() string
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 ¶
func (e ErrServerTransportHeaderInvalid) Error() string
Error implements the error interface.
type ErrServerTransportHeaderInvalidInterleavedIDs ¶
type ErrServerTransportHeaderInvalidInterleavedIDs struct{}
ErrServerTransportHeaderInvalidInterleavedIDs is an error that can be returned by a server.
func (ErrServerTransportHeaderInvalidInterleavedIDs) Error ¶
func (e ErrServerTransportHeaderInvalidInterleavedIDs) Error() string
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 ¶
func (e ErrServerTransportHeaderInvalidMode) Error() string
Error implements the error interface.
type ErrServerTransportHeaderNoClientPorts ¶
type ErrServerTransportHeaderNoClientPorts struct{}
ErrServerTransportHeaderNoClientPorts is an error that can be returned by a server.
func (ErrServerTransportHeaderNoClientPorts) Error ¶
func (e ErrServerTransportHeaderNoClientPorts) Error() string
Error implements the error interface.
type ErrServerTransportHeaderNoInterleavedIDs ¶
type ErrServerTransportHeaderNoInterleavedIDs struct{}
ErrServerTransportHeaderNoInterleavedIDs is an error that can be returned by a server.
func (ErrServerTransportHeaderNoInterleavedIDs) Error ¶
func (e ErrServerTransportHeaderNoInterleavedIDs) Error() string
Error implements the error interface.
type ErrServerUnhandledRequest ¶
ErrServerUnhandledRequest is an error that can be returned by a server.
func (ErrServerUnhandledRequest) Error ¶
func (e ErrServerUnhandledRequest) Error() string
Error implements the error interface.