Skip to content

API reference / @jsprismarine/errors / prismarine/server

prismarine/server ​

Classes ​

Variables ​

PrismarineServerErrors ​

const PrismarineServerErrors: Readonly<{ AdvertisedCodecWithoutVersion: typeof AdvertisedCodecWithoutVersion; AllowListNotList: typeof AllowListNotList; BanListNotList: typeof BanListNotList; BlockHasNoProperties: typeof BlockHasNoProperties; ConfigIsSingleValue: typeof ConfigIsSingleValue; ConfigNotReadable: typeof ConfigNotReadable; ConfigNotValidJson: typeof ConfigNotValidJson; ConfigNotWritable: typeof ConfigNotWritable; ConfiguredRandomNotSavable: typeof ConfiguredRandomNotSavable; ContentBuildFailed: typeof ContentBuildFailed; ContentReadTooEarly: typeof ContentReadTooEarly; ContentSettingsReadBeforeBuild: typeof ContentSettingsReadBeforeBuild; ContentWorldReadBeforeContent: typeof ContentWorldReadBeforeContent; ContentWorldReadTooEarly: typeof ContentWorldReadTooEarly; CraftingGridSizeMismatch: typeof CraftingGridSizeMismatch; ExpectedCoordinate: typeof ExpectedCoordinate; FakeLevelHasNoWorld: typeof FakeLevelHasNoWorld; FakeLevelWithoutProvider: typeof FakeLevelWithoutProvider; FileMigrationsMisdeclared: typeof FileMigrationsMisdeclared; FileVersionInvalid: typeof FileVersionInvalid; FileVersionTooNew: typeof FileVersionTooNew; InvalidBlockPropertyValue: typeof InvalidBlockPropertyValue; InvalidLoggedBlockEntityValue: typeof InvalidLoggedBlockEntityValue; InvalidLoggedSlot: typeof InvalidLoggedSlot; InvalidPermissionExpiry: typeof InvalidPermissionExpiry; InvalidPermissionGroupName: typeof InvalidPermissionGroupName; InvalidPermissionGroupWeight: typeof InvalidPermissionGroupWeight; InvalidPermissionNode: typeof InvalidPermissionNode; InvalidPermissionsEntry: typeof InvalidPermissionsEntry; InvalidServerReplayRandomState: typeof InvalidServerReplayRandomState; JavaPortEnvInvalid: typeof JavaPortEnvInvalid; JavaPortNotBound: typeof JavaPortNotBound; ListenersFailedToStart: typeof ListenersFailedToStart; ManualTickWhileLooping: typeof ManualTickWhileLooping; MissingExecutor: typeof MissingExecutor; MixedCaretNotation: typeof MixedCaretNotation; NestedManualTick: typeof NestedManualTick; NethernetFailedToStart: typeof NethernetFailedToStart; NethernetPortNotBound: typeof NethernetPortNotBound; NoContainerForSlot: typeof NoContainerForSlot; NoEntityRuntime: typeof NoEntityRuntime; NoTransportEnabled: typeof NoTransportEnabled; OpsNotList: typeof OpsNotList; PermissionGroupBuiltIn: typeof PermissionGroupBuiltIn; PermissionGroupCycle: typeof PermissionGroupCycle; PermissionGroupExists: typeof PermissionGroupExists; PermissionGroupNotFound: typeof PermissionGroupNotFound; PermissionGroupOwnParent: typeof PermissionGroupOwnParent; PermissionsFileNotLoaded: typeof PermissionsFileNotLoaded; PlayerNotFound: typeof PlayerNotFound; PortAndServerPortBothSet: typeof PortAndServerPortBothSet; RaknetIpv6PortNotBound: typeof RaknetIpv6PortNotBound; RaknetPortNotBound: typeof RaknetPortNotBound; ReplayBeforeNetworking: typeof ReplayBeforeNetworking; SelectorMatchedNoOne: typeof SelectorMatchedNoOne; SelectorWithoutAt: typeof SelectorWithoutAt; ServerIsNotStarted: typeof ServerIsNotStarted; SharedUdpPortNotBound: typeof SharedUdpPortNotBound; SignalingPortNotBound: typeof SignalingPortNotBound; StackHasNoPlainForm: typeof StackHasNoPlainForm; TestContentReadTooEarly: typeof TestContentReadTooEarly; TestLevelReadsJavaRegistries: typeof TestLevelReadsJavaRegistries; TimerStillRunning: typeof TimerStillRunning; UnknownBlockEntityField: typeof UnknownBlockEntityField; UnknownBlockProperty: typeof UnknownBlockProperty; UnknownInventoryContainer: typeof UnknownInventoryContainer; UnknownSelectorType: typeof UnknownSelectorType; UnknownWorldExperiment: typeof UnknownWorldExperiment; UnsupportedConfigType: typeof UnsupportedConfigType; UnsupportedGeneratorKey: typeof UnsupportedGeneratorKey; UntypedBlockProperty: typeof UntypedBlockProperty; VersionedFileNotObject: typeof VersionedFileNotObject; }>

Defined in: packages/errors/src/prismarine/server.ts:2722

The errors the server code of @jsprismarine/prismarine throws.