Skip to content

API reference / @jsprismarine/errors / client

client ​

Classes ​

Variables ​

ClientErrors ​

const ClientErrors: Readonly<{ AlreadyConnected: typeof AlreadyConnected; ClientOutdated: typeof ClientOutdated; CommandLineRejected: typeof CommandLineRejected; CountBelowOne: typeof CountBelowOne; DisconnectedByServer: typeof DisconnectedByServer; DisconnectedByServerWithoutReason: typeof DisconnectedByServerWithoutReason; DisconnectedDuringLogin: typeof DisconnectedDuringLogin; DuplicatePacketId: typeof DuplicatePacketId; ExchangeNeverHappened: typeof ExchangeNeverHappened; ExchangeSubjectNotDecoded: typeof ExchangeSubjectNotDecoded; ExchangeWithoutPosition: typeof ExchangeWithoutPosition; HandshakeTokenHasNoKey: typeof HandshakeTokenHasNoKey; HandshakeTokenHasNoSalt: typeof HandshakeTokenHasNoSalt; HandshakeTokenNotJwt: typeof HandshakeTokenNotJwt; InvalidCommandLineArguments: typeof InvalidCommandLineArguments; InvalidDuration: typeof InvalidDuration; InvalidLinkLoss: typeof InvalidLinkLoss; InvalidPercentage: typeof InvalidPercentage; InvalidRate: typeof InvalidRate; InvalidWholeNumber: typeof InvalidWholeNumber; JavaFrameMalformed: typeof JavaFrameMalformed; JavaSessionJoinRequired: typeof JavaSessionJoinRequired; LinkAlreadyConditioned: typeof LinkAlreadyConditioned; LoginRefused: typeof LoginRefused; LoginTimedOut: typeof LoginTimedOut; MissingOption: typeof MissingOption; NegativeLinkLatency: typeof NegativeLinkLatency; NethernetConnectionFailed: typeof NethernetConnectionFailed; NethernetConnectionTimedOut: typeof NethernetConnectionTimedOut; NethernetFrameNotBatch: typeof NethernetFrameNotBatch; NotNethernetServer: typeof NotNethernetServer; PacketHeaderTruncated: typeof PacketHeaderTruncated; PacketHeaderUnterminated: typeof PacketHeaderUnterminated; PickFromEmptyList: typeof PickFromEmptyList; ServerFull: typeof ServerFull; ServerOutdated: typeof ServerOutdated; SpawnedWithoutStartGame: typeof SpawnedWithoutStartGame; TransportNotConnected: typeof TransportNotConnected; UnexpectedJavaPacket: typeof UnexpectedJavaPacket; UnknownBehavior: typeof UnknownBehavior; UnknownJavaPacket: typeof UnknownJavaPacket; UnknownNetwork: typeof UnknownNetwork; UnsupportedProtocol: typeof UnsupportedProtocol; }>

Defined in: packages/errors/src/client.ts:1383

The errors @jsprismarine/client throws.