TinyBase logoTinyBase β

Error Codes

To keep the library small, errors created by TinyBase use the compact format tinybase:<code>, optionally followed by diagnostic details. Errors passed through from platforms or third-party libraries retain their original format.

CodeMeaning
0The Store type is not supported by the Persister.
1Persisted content is not an array.
2A chart series was used outside a CartesianChart.
3A Synchronizer request timed out.
4A multiplexed WebSocket control request timed out.
5A WebSocket connection closed.
6A multiplexed WebSocket channel Id is invalid.
7A multiplexed WebSocket channel Id is already in use.
8A multiplexed WebSocket was destroyed.
9Multiplexing was requested on a legacy WebSocket.
10Legacy synchronization was requested on a multiplexed WebSocket.
11An IndexedDB object store operation failed.
12An IndexedDB database could not be opened.
13A MergeableStore could not create a later HLC.
14A Synchronizer protocol message was invalid.
15A synchronization capacity limit was exceeded.