liberrors

package
v2.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: MIT Imports: 4 Imported by: 1

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 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

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 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 ErrClientServerRequestedTCP added in v2.1.0

type ErrClientServerRequestedTCP struct{}

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

func (ErrClientServerRequestedTCP) Error added in v2.1.0

Error implements the error interface.

type ErrClientServerRequestedUDP added in v2.1.0

type ErrClientServerRequestedUDP struct{}

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

func (ErrClientServerRequestedUDP) Error added in v2.1.0

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 ErrServerCannotUseSessionCreatedByOtherIP

type ErrServerCannotUseSessionCreatedByOtherIP struct{}

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

func (ErrServerCannotUseSessionCreatedByOtherIP) Error

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 ErrServerMediaAlreadySetup

type ErrServerMediaAlreadySetup struct{}

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

func (ErrServerMediaAlreadySetup) Error

Error implements the error interface.

type ErrServerMediasDifferentPaths

type ErrServerMediasDifferentPaths struct{}

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

func (ErrServerMediasDifferentPaths) Error

Error implements the error interface.

type ErrServerMediasDifferentProtocols

type ErrServerMediasDifferentProtocols struct{}

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

func (ErrServerMediasDifferentProtocols) Error

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 ErrServerNotAllAnnouncedMediasSetup

type ErrServerNotAllAnnouncedMediasSetup struct{}

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

func (ErrServerNotAllAnnouncedMediasSetup) 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 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 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 ErrServerSessionTimedOut added in v2.1.2

type ErrServerSessionTimedOut struct{}

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

func (ErrServerSessionTimedOut) Error added in v2.1.2

func (e ErrServerSessionTimedOut) Error() string

Error implements the error interface.

type ErrServerSessionTornDown added in v2.1.2

type ErrServerSessionTornDown struct {
	Author net.Addr
}

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

func (ErrServerSessionTornDown) Error added in v2.1.2

func (e ErrServerSessionTornDown) 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

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 ErrServerUDPPortsAlreadyInUse

type ErrServerUDPPortsAlreadyInUse struct {
	Port int
}

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

func (ErrServerUDPPortsAlreadyInUse) Error

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.

Jump to

Keyboard shortcuts

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