Documentation ¶
Overview ¶
Package liberrors contains errors returned by the library.
Index ¶
- type ErrClientBadStatusCode
- type ErrClientCannotSetupMediasDifferentURLs
- type ErrClientContentTypeMissing
- type ErrClientContentTypeUnsupported
- type ErrClientInvalidState
- 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 ErrServerCannotUseSessionCreatedByOtherIP
- type ErrServerContentTypeMissing
- type ErrServerContentTypeUnsupported
- type ErrServerInvalidPath
- type ErrServerInvalidSession
- type ErrServerInvalidState
- type ErrServerLinkedToOtherSession
- type ErrServerMediaAlreadySetup
- type ErrServerMediasDifferentPaths
- type ErrServerMediasDifferentProtocols
- type ErrServerNoMediasSetup
- type ErrServerNoRTSPRequestsInAWhile
- type ErrServerNoUDPPacketsInAWhile
- type ErrServerNotAllAnnouncedMediasSetup
- type ErrServerPathHasChanged
- type ErrServerSDPInvalid
- type ErrServerSessionLinkedToOtherConn
- type ErrServerSessionNotFound
- type ErrServerSessionNotInUse
- type ErrServerSessionTeardown
- type ErrServerTerminated
- type ErrServerTransportHeaderInterleavedIDsAlreadyUsed
- type ErrServerTransportHeaderInvalid
- type ErrServerTransportHeaderInvalidInterleavedIDs
- type ErrServerTransportHeaderInvalidMode
- type ErrServerTransportHeaderNoClientPorts
- type ErrServerTransportHeaderNoInterleavedIDs
- type ErrServerUDPPortsAlreadyInUse
- type ErrServerUnexpectedFrame
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrClientBadStatusCode ¶
type ErrClientBadStatusCode struct { Code base.StatusCode Message string }
ErrClientBadStatusCode is an error that can be returned by a client.
func (ErrClientBadStatusCode) Error ¶
func (e ErrClientBadStatusCode) Error() string
Error implements the error interface.
type ErrClientCannotSetupMediasDifferentURLs ¶
type ErrClientCannotSetupMediasDifferentURLs struct{}
ErrClientCannotSetupMediasDifferentURLs is an error that can be returned by a client.
func (ErrClientCannotSetupMediasDifferentURLs) Error ¶
func (e ErrClientCannotSetupMediasDifferentURLs) 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 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 ErrServerCannotUseSessionCreatedByOtherIP ¶
type ErrServerCannotUseSessionCreatedByOtherIP struct{}
ErrServerCannotUseSessionCreatedByOtherIP is an error that can be returned by a server.
func (ErrServerCannotUseSessionCreatedByOtherIP) Error ¶
func (e ErrServerCannotUseSessionCreatedByOtherIP) 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 ErrServerMediaAlreadySetup ¶
type ErrServerMediaAlreadySetup struct{}
ErrServerMediaAlreadySetup is an error that can be returned by a server.
func (ErrServerMediaAlreadySetup) Error ¶
func (e ErrServerMediaAlreadySetup) Error() string
Error implements the error interface.
type ErrServerMediasDifferentPaths ¶
type ErrServerMediasDifferentPaths struct{}
ErrServerMediasDifferentPaths is an error that can be returned by a server.
func (ErrServerMediasDifferentPaths) Error ¶
func (e ErrServerMediasDifferentPaths) Error() string
Error implements the error interface.
type ErrServerMediasDifferentProtocols ¶
type ErrServerMediasDifferentProtocols struct{}
ErrServerMediasDifferentProtocols is an error that can be returned by a server.
func (ErrServerMediasDifferentProtocols) Error ¶
func (e ErrServerMediasDifferentProtocols) Error() string
Error implements the error interface.
type ErrServerNoMediasSetup ¶
type ErrServerNoMediasSetup struct{}
ErrServerNoMediasSetup is an error that can be returned by a server.
func (ErrServerNoMediasSetup) Error ¶
func (e ErrServerNoMediasSetup) Error() string
Error implements the error interface.
type ErrServerNoRTSPRequestsInAWhile ¶
type ErrServerNoRTSPRequestsInAWhile struct{}
ErrServerNoRTSPRequestsInAWhile is an error that can be returned by a server.
func (ErrServerNoRTSPRequestsInAWhile) Error ¶
func (e ErrServerNoRTSPRequestsInAWhile) Error() string
Error implements the error interface.
type ErrServerNoUDPPacketsInAWhile ¶
type ErrServerNoUDPPacketsInAWhile struct{}
ErrServerNoUDPPacketsInAWhile is an error that can be returned by a server.
func (ErrServerNoUDPPacketsInAWhile) Error ¶
func (e ErrServerNoUDPPacketsInAWhile) Error() string
Error implements the error interface.
type ErrServerNotAllAnnouncedMediasSetup ¶
type ErrServerNotAllAnnouncedMediasSetup struct{}
ErrServerNotAllAnnouncedMediasSetup is an error that can be returned by a server.
func (ErrServerNotAllAnnouncedMediasSetup) Error ¶
func (e ErrServerNotAllAnnouncedMediasSetup) 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 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 ErrServerSessionNotInUse ¶
type ErrServerSessionNotInUse struct{}
ErrServerSessionNotInUse is an error that can be returned by a server.
func (ErrServerSessionNotInUse) Error ¶
func (e ErrServerSessionNotInUse) Error() string
Error implements the error interface.
type ErrServerSessionTeardown ¶
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 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 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 ErrServerUDPPortsAlreadyInUse ¶
type ErrServerUDPPortsAlreadyInUse struct {
Port int
}
ErrServerUDPPortsAlreadyInUse is an error that can be returned by a server.
func (ErrServerUDPPortsAlreadyInUse) Error ¶
func (e ErrServerUDPPortsAlreadyInUse) Error() string
Error implements the error interface.
type ErrServerUnexpectedFrame ¶
type ErrServerUnexpectedFrame struct{}
ErrServerUnexpectedFrame is an error that can be returned by a server.
func (ErrServerUnexpectedFrame) Error ¶
func (e ErrServerUnexpectedFrame) Error() string
Error implements the error interface.