Enum rtc_shared::error::Error
source · #[non_exhaustive]pub enum Error {
Show 424 variants
ErrBufferFull,
ErrBufferClosed,
ErrBufferShort,
ErrPacketTooBig,
ErrTimeout,
ErrClosedListener,
ErrListenQueueExceeded,
ErrClosedListenerAcceptCh,
ErrObsCannotBeNil,
ErrUseClosedNetworkConn,
ErrAddrNotUdpAddr,
ErrLocAddr,
ErrAlreadyClosed,
ErrNoRemAddr,
ErrAddressAlreadyInUse,
ErrNoSuchUdpConn,
ErrCannotRemoveUnspecifiedIp,
ErrNoAddressAssigned,
ErrNatRequriesMapping,
ErrMismatchLengthIp,
ErrNonUdpTranslationNotSupported,
ErrNoAssociatedLocalAddress,
ErrNoNatBindingFound,
ErrHasNoPermission,
ErrHostnameEmpty,
ErrFailedToParseIpaddr,
ErrNoInterface,
ErrNotFound,
ErrUnexpectedNetwork,
ErrCantAssignRequestedAddr,
ErrUnknownNetwork,
ErrNoRouterLinked,
ErrInvalidPortNumber,
ErrUnexpectedTypeSwitchFailure,
ErrBindFailed,
ErrEndPortLessThanStart,
ErrPortSpaceExhausted,
ErrVnetDisabled,
ErrInvalidLocalIpInStaticIps,
ErrLocalIpBeyondStaticIpsSubset,
ErrLocalIpNoStaticsIpsAssociated,
ErrRouterAlreadyStarted,
ErrRouterAlreadyStopped,
ErrStaticIpIsBeyondSubnet,
ErrAddressSpaceExhausted,
ErrNoIpaddrEth0,
ErrInvalidMask,
HandshakeInProgress,
ContextUnsupported,
ReservedExportKeyingMaterial,
CipherSuiteUnset,
Hash(String),
PoisonError(String),
WrongMarshalSize,
InvalidTotalLost,
InvalidHeader,
EmptyCompound,
BadFirstPacket,
MissingCname,
PacketBeforeCname,
TooManyReports,
TooManyChunks,
TooManySources,
PacketTooShort,
BufferTooShort,
WrongType,
SdesTextTooLong,
SdesMissingType,
ReasonTooLong,
BadVersion,
WrongPadding,
WrongFeedbackType,
WrongPayloadType,
HeaderTooSmall,
SsrcMustBeZero,
MissingRembIdentifier,
SsrcNumAndLengthMismatch,
InvalidSizeOrStartIndex,
DeltaExceedLimit,
PacketStatusChunkLength,
InvalidBitrate,
WrongChunkType,
BadStructMemberType,
BadReadParameter,
ErrHeaderSizeInsufficient,
ErrHeaderSizeInsufficientForExtension,
ErrBufferTooSmall,
ErrHeaderExtensionsNotEnabled,
ErrHeaderExtensionNotFound,
ErrRfc8285oneByteHeaderIdrange,
ErrRfc8285oneByteHeaderSize,
ErrRfc8285twoByteHeaderIdrange,
ErrRfc8285twoByteHeaderSize,
ErrRfc3550headerIdrange,
ErrShortPacket,
ErrNilPacket,
ErrTooManyPDiff,
ErrTooManySpatialLayers,
ErrUnhandledNaluType,
ErrH265CorruptedPacket,
ErrInvalidH265PacketType,
ErrPayloadTooSmallForObuExtensionHeader,
ErrPayloadTooSmallForObuPayloadSize,
HeaderExtensionPayloadNot32BitWords,
AudioLevelOverflow,
PayloadIsNotLargeEnough,
StapASizeLargerThanBuffer(usize, usize),
NaluTypeIsNotHandled(u8),
ErrDuplicated,
ErrShortSrtpMasterKey,
ErrShortSrtpMasterSalt,
ErrNoSuchSrtpProfile,
ErrNonZeroKdrNotSupported,
ErrExporterWrongLabel,
ErrNoConfig,
ErrNoConn,
ErrFailedToVerifyAuthTag,
ErrTooShortRtcp,
ErrPayloadDiffers,
ErrStartedChannelUsedIncorrectly,
ErrStreamNotInited,
ErrStreamAlreadyClosed,
ErrStreamAlreadyInited,
ErrFailedTypeAssertion,
UnsupportedIndexOverKdr,
SrtpMasterKeyLength(usize, usize),
SrtpSaltLength(usize, usize),
ExtMapParse(String),
SsrcMissingFromSrtp(u32),
SrtpSsrcDuplicated(u32, u16),
SrtcpSsrcDuplicated(u32, usize),
SsrcMissingFromSrtcp(u32),
StreamWithSsrcExists(u32),
SessionRtpRtcpTypeMismatch,
SessionEof,
SrtpTooSmall(usize, usize),
SrtcpTooSmall(usize, usize),
RtpFailedToVerifyAuthTag,
RtcpFailedToVerifyAuthTag,
SessionSrtpAlreadyClosed,
InvalidRtpStream,
InvalidRtcpStream,
ErrAttributeNotFound,
ErrTransactionStopped,
ErrTransactionNotExists,
ErrTransactionExists,
ErrAgentClosed,
ErrTransactionTimeOut,
ErrNoDefaultReason,
ErrUnexpectedEof,
ErrAttributeSizeInvalid,
ErrAttributeSizeOverflow,
ErrDecodeToNil,
ErrUnexpectedHeaderEof,
ErrIntegrityMismatch,
ErrFingerprintMismatch,
ErrFingerprintBeforeIntegrity,
ErrBadUnknownAttrsSize,
ErrBadIpLength,
ErrNoConnection,
ErrClientClosed,
ErrNoAgent,
ErrCollectorClosed,
ErrUnsupportedNetwork,
ErrInvalidUrl,
ErrSchemeType,
ErrHost,
ErrRelayAddressInvalid,
ErrNoAvailableConns,
ErrConnUnset,
ErrListenerUnset,
ErrListeningAddressInvalid,
ErrRelayAddressGeneratorUnset,
ErrMaxRetriesExceeded,
ErrMaxPortNotZero,
ErrMinPortNotZero,
ErrMaxPortLessThanMinPort,
ErrNilConn,
ErrTodo,
ErrAlreadyListening,
ErrFailedToClose,
ErrFailedToRetransmitTransaction,
ErrAllRetransmissionsFailed,
ErrChannelBindNotFound,
ErrStunserverAddressNotSet,
ErrOneAllocateOnly,
ErrAlreadyAllocated,
ErrNonStunmessage,
ErrFailedToDecodeStun,
ErrUnexpectedStunrequestMessage,
ErrInvalidChannelNumber,
ErrBadChannelDataLength,
ErrInvalidRequestedFamilyValue,
ErrFakeErr,
ErrClosed,
ErrUdpaddrCast,
ErrDoubleLock,
ErrTransactionClosed,
ErrWaitForResultOnNonResultTransaction,
ErrFailedToBuildRefreshRequest,
ErrFailedToRefreshAllocation,
ErrFailedToGetLifetime,
ErrShortBuffer,
ErrUnexpectedResponse,
ErrAllocatePacketConnMustBeSet,
ErrAllocateConnMustBeSet,
ErrLeveledLoggerMustBeSet,
ErrSameChannelDifferentPeer,
ErrNilFiveTuple,
ErrNilFiveTupleSrcAddr,
ErrNilFiveTupleDstAddr,
ErrNilTurnSocket,
ErrLifetimeZero,
ErrDupeFiveTuple,
ErrFailedToCastUdpaddr,
ErrFailedToGenerateNonce,
ErrFailedToSendError,
ErrDuplicatedNonce,
ErrNoSuchUser,
ErrUnexpectedClass,
ErrUnexpectedMethod,
ErrFailedToHandle,
ErrUnhandledStunpacket,
ErrUnableToHandleChannelData,
ErrFailedToCreateStunpacket,
ErrFailedToCreateChannelData,
ErrRelayAlreadyAllocatedForFiveTuple,
ErrRequestedTransportMustBeUdp,
ErrNoDontFragmentSupport,
ErrRequestWithReservationTokenAndEvenPort,
ErrNoAllocationFound,
ErrNoPermission,
ErrShortWrite,
ErrNoSuchChannelBind,
ErrFailedWriteSocket,
ErrConnClosed,
ErrDeadlineExceeded,
ErrContextUnsupported,
ErrDtlspacketInvalidLength,
ErrHandshakeInProgress,
ErrInvalidContentType,
ErrInvalidMac,
ErrInvalidPacketLength,
ErrReservedExportKeyingMaterial,
ErrCertificateVerifyNoCertificate,
ErrCipherSuiteNoIntersection,
ErrCipherSuiteUnset,
ErrClientCertificateNotVerified,
ErrClientCertificateRequired,
ErrClientNoMatchingSrtpProfile,
ErrClientRequiredButNoServerEms,
ErrCompressionMethodUnset,
ErrCookieMismatch,
ErrCookieTooLong,
ErrIdentityNoPsk,
ErrInvalidCertificate,
ErrInvalidCipherSpec,
ErrInvalidCipherSuite,
ErrInvalidClientKeyExchange,
ErrInvalidCompressionMethod,
ErrInvalidEcdsasignature,
ErrInvalidEllipticCurveType,
ErrInvalidExtensionType,
ErrInvalidHashAlgorithm,
ErrInvalidNamedCurve,
ErrInvalidPrivateKey,
ErrNamedCurveAndPrivateKeyMismatch,
ErrInvalidSniFormat,
ErrInvalidSignatureAlgorithm,
ErrKeySignatureMismatch,
ErrNilNextConn,
ErrNoAvailableCipherSuites,
ErrNoAvailableSignatureSchemes,
ErrNoCertificates,
ErrNoConfigProvided,
ErrNoSupportedEllipticCurves,
ErrUnsupportedProtocolVersion,
ErrPskAndCertificate,
ErrPskAndIdentityMustBeSetForClient,
ErrRequestedButNoSrtpExtension,
ErrServerMustHaveCertificate,
ErrServerNoMatchingSrtpProfile,
ErrServerRequiredButNoClientEms,
ErrVerifyDataMismatch,
ErrHandshakeMessageUnset,
ErrInvalidFlight,
ErrKeySignatureGenerateUnimplemented,
ErrKeySignatureVerifyUnimplemented,
ErrLengthMismatch,
ErrNotEnoughRoomForNonce,
ErrNotImplemented,
ErrSequenceNumberOverflow,
ErrUnableToMarshalFragmented,
ErrInvalidFsmTransition,
ErrApplicationDataEpochZero,
ErrUnhandledContextType,
ErrContextCanceled,
ErrEmptyFragment,
ErrAlertFatalOrClose,
ErrFragmentBufferOverflow {
new_size: usize,
max_size: usize,
},
ErrClientTransportNotSet,
Sec1(Error),
P256(P256Error),
RcGen(Error),
InvalidPEM(String),
EndpointStopping,
TooManyConnections,
InvalidDnsName(String),
InvalidRemoteAddress(SocketAddr),
NoClientConfig,
NoServerConfig,
ErrChunkHeaderTooSmall,
ErrChunkHeaderNotEnoughSpace,
ErrChunkHeaderPaddingNonZero,
ErrChunkHeaderInvalidLength,
ErrChunkTypeNotAbort,
ErrBuildAbortChunkFailed,
ErrChunkTypeNotCookieAck,
ErrChunkTypeNotCookieEcho,
ErrChunkTypeNotCt,
ErrBuildErrorChunkFailed,
ErrMarshalStreamFailed,
ErrChunkTooShort,
ErrChunkTypeNotForwardTsn,
ErrChunkTypeNotHeartbeat,
ErrChunkTypeNotHeartbeatAck,
ErrHeartbeatNotLongEnoughInfo,
ErrParseParamTypeFailed,
ErrHeartbeatParam,
ErrHeartbeatChunkUnmarshal,
ErrUnimplemented,
ErrHeartbeatAckParams,
ErrHeartbeatAckNotHeartbeatInfo,
ErrHeartbeatAckMarshalParam,
ErrErrorCauseTooSmall,
ErrParamTypeUnhandled,
ErrParamTypeUnexpected,
ErrParamHeaderTooShort,
ErrParamHeaderSelfReportedLengthShorter,
ErrParamHeaderSelfReportedLengthLonger,
ErrParamHeaderParseFailed,
ErrParamPacketTooShort,
ErrSsnResetRequestParamTooShort,
ErrReconfigRespParamTooShort,
ErrInvalidAlgorithmType,
ErrInitChunkParseParamTypeFailed,
ErrInitChunkUnmarshalParam,
ErrInitAckMarshalParam,
ErrChunkTypeNotTypeInit,
ErrChunkValueNotLongEnough,
ErrChunkTypeInitFlagZero,
ErrChunkTypeInitUnmarshalFailed,
ErrChunkTypeInitMarshalFailed,
ErrChunkTypeInitInitiateTagZero,
ErrInitInboundStreamRequestZero,
ErrInitOutboundStreamRequestZero,
ErrInitAdvertisedReceiver1500,
ErrChunkPayloadSmall,
ErrChunkTypeNotPayloadData,
ErrChunkTypeNotReconfig,
ErrChunkReconfigInvalidParamA,
ErrChunkParseParamTypeFailed,
ErrChunkMarshalParamAReconfigFailed,
ErrChunkMarshalParamBReconfigFailed,
ErrChunkTypeNotSack,
ErrSackSizeNotLargeEnoughInfo,
ErrInvalidChunkSize,
ErrChunkTypeNotShutdown,
ErrChunkTypeNotShutdownAck,
ErrChunkTypeNotShutdownComplete,
ErrPacketRawTooSmall,
ErrParseSctpChunkNotEnoughData,
ErrUnmarshalUnknownChunkType,
ErrChecksumMismatch,
ErrUnexpectedChuckPoppedUnordered,
ErrUnexpectedChuckPoppedOrdered,
ErrUnexpectedQState,
ErrTryAgain,
ErrAbortChunk(String),
ErrShutdownNonEstablished,
ErrAssociationClosedBeforeConn,
ErrAssociationInitFailed,
ErrAssociationHandshakeClosed,
ErrSilentlyDiscard,
ErrInitNotStoredToSend,
ErrCookieEchoNotStoredToSend,
ErrSctpPacketSourcePortZero,
ErrSctpPacketDestinationPortZero,
ErrInitChunkBundled,
ErrInitChunkVerifyTagNotZero,
ErrHandleInitState,
ErrInitAckNoCookie,
ErrStreamAlreadyExist,
ErrStreamCreateFailed,
ErrInflightQueueTsnPop,
ErrTsnRequestNotExist,
ErrResetPacketInStateNotExist,
ErrParameterType,
ErrPayloadDataStateNotExist,
ErrChunkTypeUnhandled,
ErrHandshakeInitAck,
ErrHandshakeCookieEcho,
ErrOutboundPacketTooLarge,
ErrStreamClosed,
ErrStreamNotExisted,
ErrAssociationNotExisted,
ErrEof,
ErrInvalidSystemTime,
ErrNetConnRead,
ErrMaxDataChannelID,
UnexpectedEndOfBuffer {
expected: usize,
actual: usize,
},
InvalidMessageType(u8),
InvalidChannelType(u8),
InvalidPayloadProtocolIdentifier(u8),
UnknownProtocol,
AesGcm(Error),
ParseIp(AddrParseError),
ParseInt(ParseIntError),
Io(IoError),
Url(ParseError),
Utf8(FromUtf8Error),
Std(StdError),
Aes(InvalidLength),
Other(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ErrBufferFull
ErrBufferClosed
ErrBufferShort
ErrPacketTooBig
ErrTimeout
ErrClosedListener
ErrListenQueueExceeded
ErrClosedListenerAcceptCh
ErrObsCannotBeNil
ErrUseClosedNetworkConn
ErrAddrNotUdpAddr
ErrLocAddr
ErrAlreadyClosed
ErrNoRemAddr
ErrAddressAlreadyInUse
ErrNoSuchUdpConn
ErrCannotRemoveUnspecifiedIp
ErrNoAddressAssigned
ErrNatRequriesMapping
ErrMismatchLengthIp
ErrNonUdpTranslationNotSupported
ErrNoAssociatedLocalAddress
ErrNoNatBindingFound
ErrHasNoPermission
ErrHostnameEmpty
ErrFailedToParseIpaddr
ErrNoInterface
ErrNotFound
ErrUnexpectedNetwork
ErrCantAssignRequestedAddr
ErrUnknownNetwork
ErrNoRouterLinked
ErrInvalidPortNumber
ErrUnexpectedTypeSwitchFailure
ErrBindFailed
ErrEndPortLessThanStart
ErrPortSpaceExhausted
ErrVnetDisabled
ErrInvalidLocalIpInStaticIps
ErrLocalIpBeyondStaticIpsSubset
ErrLocalIpNoStaticsIpsAssociated
ErrRouterAlreadyStarted
ErrRouterAlreadyStopped
ErrStaticIpIsBeyondSubnet
ErrAddressSpaceExhausted
ErrNoIpaddrEth0
ErrInvalidMask
HandshakeInProgress
ContextUnsupported
ReservedExportKeyingMaterial
CipherSuiteUnset
Hash(String)
PoisonError(String)
WrongMarshalSize
Wrong marshal size.
InvalidTotalLost
Packet lost exceeds maximum amount of packets that can possibly be lost.
InvalidHeader
Packet contains an invalid header.
EmptyCompound
Packet contains empty compound.
BadFirstPacket
Invalid first packet in compound packets. First packet should either be a SenderReport packet or ReceiverReport
MissingCname
CNAME was not defined.
PacketBeforeCname
Packet was defined before CNAME.
TooManyReports
Too many reports.
TooManyChunks
Too many chunks.
TooManySources
Too many sources.
PacketTooShort
Packet received is too short.
BufferTooShort
Buffer is too short.
WrongType
Wrong packet type.
SdesTextTooLong
SDES received is too long.
SdesMissingType
SDES type is missing.
ReasonTooLong
Reason is too long.
BadVersion
Invalid packet version.
WrongPadding
Invalid padding value.
WrongFeedbackType
Wrong feedback message type.
WrongPayloadType
Wrong payload type.
HeaderTooSmall
Header length is too small.
SsrcMustBeZero
Media ssrc was defined as zero.
MissingRembIdentifier
Missing REMB identifier.
SsrcNumAndLengthMismatch
SSRC number and length mismatches.
InvalidSizeOrStartIndex
Invalid size or start index.
DeltaExceedLimit
Delta exceeds limit.
PacketStatusChunkLength
Packet status chunk is not 2 bytes.
InvalidBitrate
WrongChunkType
BadStructMemberType
BadReadParameter
ErrHeaderSizeInsufficient
ErrHeaderSizeInsufficientForExtension
ErrBufferTooSmall
ErrHeaderExtensionsNotEnabled
ErrHeaderExtensionNotFound
ErrRfc8285oneByteHeaderIdrange
ErrRfc8285oneByteHeaderSize
ErrRfc8285twoByteHeaderIdrange
ErrRfc8285twoByteHeaderSize
ErrRfc3550headerIdrange
ErrShortPacket
ErrNilPacket
ErrTooManyPDiff
ErrTooManySpatialLayers
ErrUnhandledNaluType
ErrH265CorruptedPacket
ErrInvalidH265PacketType
ErrPayloadTooSmallForObuExtensionHeader
ErrPayloadTooSmallForObuPayloadSize
HeaderExtensionPayloadNot32BitWords
AudioLevelOverflow
PayloadIsNotLargeEnough
StapASizeLargerThanBuffer(usize, usize)
NaluTypeIsNotHandled(u8)
ErrDuplicated
ErrShortSrtpMasterKey
ErrShortSrtpMasterSalt
ErrNoSuchSrtpProfile
ErrNonZeroKdrNotSupported
ErrExporterWrongLabel
ErrNoConfig
ErrNoConn
ErrFailedToVerifyAuthTag
ErrTooShortRtcp
ErrPayloadDiffers
ErrStartedChannelUsedIncorrectly
ErrStreamNotInited
ErrStreamAlreadyClosed
ErrStreamAlreadyInited
ErrFailedTypeAssertion
UnsupportedIndexOverKdr
SrtpMasterKeyLength(usize, usize)
SrtpSaltLength(usize, usize)
ExtMapParse(String)
SsrcMissingFromSrtp(u32)
SrtpSsrcDuplicated(u32, u16)
SrtcpSsrcDuplicated(u32, usize)
SsrcMissingFromSrtcp(u32)
StreamWithSsrcExists(u32)
SessionRtpRtcpTypeMismatch
SessionEof
SrtpTooSmall(usize, usize)
SrtcpTooSmall(usize, usize)
RtpFailedToVerifyAuthTag
RtcpFailedToVerifyAuthTag
SessionSrtpAlreadyClosed
InvalidRtpStream
InvalidRtcpStream
ErrAttributeNotFound
ErrTransactionStopped
ErrTransactionNotExists
ErrTransactionExists
ErrAgentClosed
ErrTransactionTimeOut
ErrNoDefaultReason
ErrUnexpectedEof
ErrAttributeSizeInvalid
ErrAttributeSizeOverflow
ErrDecodeToNil
ErrUnexpectedHeaderEof
ErrIntegrityMismatch
ErrFingerprintMismatch
ErrFingerprintBeforeIntegrity
ErrBadUnknownAttrsSize
ErrBadIpLength
ErrNoConnection
ErrClientClosed
ErrNoAgent
ErrCollectorClosed
ErrUnsupportedNetwork
ErrInvalidUrl
ErrSchemeType
ErrHost
ErrRelayAddressInvalid
ErrNoAvailableConns
ErrConnUnset
ErrListenerUnset
ErrListeningAddressInvalid
ErrRelayAddressGeneratorUnset
ErrMaxRetriesExceeded
ErrMaxPortNotZero
ErrMinPortNotZero
ErrMaxPortLessThanMinPort
ErrNilConn
ErrTodo
ErrAlreadyListening
ErrFailedToClose
ErrFailedToRetransmitTransaction
ErrAllRetransmissionsFailed
ErrChannelBindNotFound
ErrStunserverAddressNotSet
ErrOneAllocateOnly
ErrAlreadyAllocated
ErrNonStunmessage
ErrFailedToDecodeStun
ErrUnexpectedStunrequestMessage
ErrInvalidChannelNumber
ErrBadChannelDataLength
ErrInvalidRequestedFamilyValue
ErrFakeErr
ErrClosed
ErrUdpaddrCast
ErrDoubleLock
ErrTransactionClosed
ErrWaitForResultOnNonResultTransaction
ErrFailedToBuildRefreshRequest
ErrFailedToRefreshAllocation
ErrFailedToGetLifetime
ErrShortBuffer
ErrUnexpectedResponse
ErrAllocatePacketConnMustBeSet
ErrAllocateConnMustBeSet
ErrLeveledLoggerMustBeSet
ErrSameChannelDifferentPeer
ErrNilFiveTuple
ErrNilFiveTupleSrcAddr
ErrNilFiveTupleDstAddr
ErrNilTurnSocket
ErrLifetimeZero
ErrDupeFiveTuple
ErrFailedToCastUdpaddr
ErrFailedToGenerateNonce
ErrFailedToSendError
ErrDuplicatedNonce
ErrNoSuchUser
ErrUnexpectedClass
ErrUnexpectedMethod
ErrFailedToHandle
ErrUnhandledStunpacket
ErrUnableToHandleChannelData
ErrFailedToCreateStunpacket
ErrFailedToCreateChannelData
ErrRelayAlreadyAllocatedForFiveTuple
ErrRequestedTransportMustBeUdp
ErrNoDontFragmentSupport
ErrRequestWithReservationTokenAndEvenPort
ErrNoAllocationFound
ErrNoPermission
ErrShortWrite
ErrNoSuchChannelBind
ErrFailedWriteSocket
ErrConnClosed
ErrDeadlineExceeded
ErrContextUnsupported
ErrDtlspacketInvalidLength
ErrHandshakeInProgress
ErrInvalidContentType
ErrInvalidMac
ErrInvalidPacketLength
ErrReservedExportKeyingMaterial
ErrCertificateVerifyNoCertificate
ErrCipherSuiteNoIntersection
ErrCipherSuiteUnset
ErrClientCertificateNotVerified
ErrClientCertificateRequired
ErrClientNoMatchingSrtpProfile
ErrClientRequiredButNoServerEms
ErrCompressionMethodUnset
ErrCookieMismatch
ErrCookieTooLong
ErrIdentityNoPsk
ErrInvalidCertificate
ErrInvalidCipherSpec
ErrInvalidCipherSuite
ErrInvalidClientKeyExchange
ErrInvalidCompressionMethod
ErrInvalidEcdsasignature
ErrInvalidEllipticCurveType
ErrInvalidExtensionType
ErrInvalidHashAlgorithm
ErrInvalidNamedCurve
ErrInvalidPrivateKey
ErrNamedCurveAndPrivateKeyMismatch
ErrInvalidSniFormat
ErrInvalidSignatureAlgorithm
ErrKeySignatureMismatch
ErrNilNextConn
ErrNoAvailableCipherSuites
ErrNoAvailableSignatureSchemes
ErrNoCertificates
ErrNoConfigProvided
ErrNoSupportedEllipticCurves
ErrUnsupportedProtocolVersion
ErrPskAndCertificate
ErrPskAndIdentityMustBeSetForClient
ErrRequestedButNoSrtpExtension
ErrServerMustHaveCertificate
ErrServerNoMatchingSrtpProfile
ErrServerRequiredButNoClientEms
ErrVerifyDataMismatch
ErrHandshakeMessageUnset
ErrInvalidFlight
ErrKeySignatureGenerateUnimplemented
ErrKeySignatureVerifyUnimplemented
ErrLengthMismatch
ErrNotEnoughRoomForNonce
ErrNotImplemented
ErrSequenceNumberOverflow
ErrUnableToMarshalFragmented
ErrInvalidFsmTransition
ErrApplicationDataEpochZero
ErrUnhandledContextType
ErrContextCanceled
ErrEmptyFragment
ErrAlertFatalOrClose
ErrFragmentBufferOverflow
ErrClientTransportNotSet
Sec1(Error)
P256(P256Error)
RcGen(Error)
InvalidPEM(String)
Error parsing a given PEM string.
EndpointStopping
The endpoint can no longer create new connections
Indicates that a necessary component of the endpoint has been dropped or otherwise disabled.
TooManyConnections
The number of active connections on the local endpoint is at the limit
Try using longer connection IDs.
InvalidDnsName(String)
The domain name supplied was malformed
InvalidRemoteAddress(SocketAddr)
The remote SocketAddr supplied was malformed
Examples include attempting to connect to port 0, or using an inappropriate address family.
NoClientConfig
No client configuration was set up
NoServerConfig
No server configuration was set up