Skip to content

API reference / @jsprismarine/errors / nethernet

nethernet ​

Classes ​

Variables ​

NethernetErrors ​

const NethernetErrors: Readonly<{ ClientConnectsOnce: typeof ClientConnectsOnce; ConnectionIsClosed: typeof ConnectionIsClosed; ConnectionIsNotOpen: typeof ConnectionIsNotOpen; DescriptionHasNoIdentity: typeof DescriptionHasNoIdentity; DiscoveryPacketChecksumDoesNotMatch: typeof DiscoveryPacketChecksumDoesNotMatch; DiscoveryPacketIsTooShort: typeof DiscoveryPacketIsTooShort; DiscoveryPacketTextRunsPastEnd: typeof DiscoveryPacketTextRunsPastEnd; EmptySegment: typeof EmptySegment; ExpectedJoinPath: typeof ExpectedJoinPath; IdentityAssertionIsMalformed: typeof IdentityAssertionIsMalformed; IdentityFingerprintMismatch: typeof IdentityFingerprintMismatch; IdentityHasNoAssertion: typeof IdentityHasNoAssertion; IdentityTokenHasExpired: typeof IdentityTokenHasExpired; IdentityTokenHasNoClaims: typeof IdentityTokenHasNoClaims; IdentityTokenHasNoKey: typeof IdentityTokenHasNoKey; IdentityTokenNotSelfSigned: typeof IdentityTokenNotSelfSigned; InvalidIdentityKeyCurve: typeof InvalidIdentityKeyCurve; InvalidServerPublicIp: typeof InvalidServerPublicIp; InvalidServerUdpPorts: typeof InvalidServerUdpPorts; JoinRefused: typeof JoinRefused; JoinRefusedWithBody: typeof JoinRefusedWithBody; JoinStatusHasNoNumber: typeof JoinStatusHasNoNumber; JoinStatusHasNoString: typeof JoinStatusHasNoString; JoinStatusIsNotObject: typeof JoinStatusIsNotObject; MessageCannotBeEmpty: typeof MessageCannotBeEmpty; MessageTooLarge: typeof MessageTooLarge; MessageTooLongToSegment: typeof MessageTooLongToSegment; MissingSdpOffer: typeof MissingSdpOffer; NativeCallFailed: typeof NativeCallFailed; NativeLibraryCannotLoad: typeof NativeLibraryCannotLoad; NoLanServerAnswered: typeof NoLanServerAnswered; PeerEndedBeforeDescription: typeof PeerEndedBeforeDescription; PeerHasNoDescription: typeof PeerHasNoDescription; PortStrategyOutOfRange: typeof PortStrategyOutOfRange; SdpOfferTooLarge: typeof SdpOfferTooLarge; SegmentOutOfSequence: typeof SegmentOutOfSequence; ServerIsClosed: typeof ServerIsClosed; SignalConnectionIdIsNotNumber: typeof SignalConnectionIdIsNotNumber; UnknownDiscoveryPacketType: typeof UnknownDiscoveryPacketType; UnknownNethernetSignalType: typeof UnknownNethernetSignalType; UnsignableDescription: typeof UnsignableDescription; UnsupportedLanAdvertisementVersion: typeof UnsupportedLanAdvertisementVersion; }>

Defined in: packages/errors/src/nethernet.ts:1376

The errors @jsprismarine/nethernet throws.