API reference / @jsprismarine/errors / client
client
Classes
Variables
ClientErrors
constClientErrors:Readonly<{AlreadyConnected: typeofAlreadyConnected;ClientOutdated: typeofClientOutdated;CommandLineRejected: typeofCommandLineRejected;CountBelowOne: typeofCountBelowOne;DisconnectedByServer: typeofDisconnectedByServer;DisconnectedByServerWithoutReason: typeofDisconnectedByServerWithoutReason;DisconnectedDuringLogin: typeofDisconnectedDuringLogin;DuplicatePacketId: typeofDuplicatePacketId;ExchangeNeverHappened: typeofExchangeNeverHappened;ExchangeSubjectNotDecoded: typeofExchangeSubjectNotDecoded;ExchangeWithoutPosition: typeofExchangeWithoutPosition;HandshakeTokenHasNoKey: typeofHandshakeTokenHasNoKey;HandshakeTokenHasNoSalt: typeofHandshakeTokenHasNoSalt;HandshakeTokenNotJwt: typeofHandshakeTokenNotJwt;InvalidCommandLineArguments: typeofInvalidCommandLineArguments;InvalidDuration: typeofInvalidDuration;InvalidLinkLoss: typeofInvalidLinkLoss;InvalidPercentage: typeofInvalidPercentage;InvalidRate: typeofInvalidRate;InvalidWholeNumber: typeofInvalidWholeNumber;JavaFrameMalformed: typeofJavaFrameMalformed;JavaSessionJoinRequired: typeofJavaSessionJoinRequired;LinkAlreadyConditioned: typeofLinkAlreadyConditioned;LoginRefused: typeofLoginRefused;LoginTimedOut: typeofLoginTimedOut;MissingOption: typeofMissingOption;NegativeLinkLatency: typeofNegativeLinkLatency;NethernetConnectionFailed: typeofNethernetConnectionFailed;NethernetConnectionTimedOut: typeofNethernetConnectionTimedOut;NethernetFrameNotBatch: typeofNethernetFrameNotBatch;NotNethernetServer: typeofNotNethernetServer;PacketHeaderTruncated: typeofPacketHeaderTruncated;PacketHeaderUnterminated: typeofPacketHeaderUnterminated;PickFromEmptyList: typeofPickFromEmptyList;ServerFull: typeofServerFull;ServerOutdated: typeofServerOutdated;SpawnedWithoutStartGame: typeofSpawnedWithoutStartGame;TransportNotConnected: typeofTransportNotConnected;UnexpectedJavaPacket: typeofUnexpectedJavaPacket;UnknownBehavior: typeofUnknownBehavior;UnknownJavaPacket: typeofUnknownJavaPacket;UnknownNetwork: typeofUnknownNetwork;UnsupportedProtocol: typeofUnsupportedProtocol; }>
Defined in: packages/errors/src/client.ts:1383
The errors @jsprismarine/client throws.