MCPcopy Create free account
hub / github.com/Tencent/MMKV / error_handler

Function error_handler

Python/demo.py:322–324  ·  view source on GitHub ↗
(mmap_id, error_type)

Source from the content-addressed store, hash-verified

320
321
322def error_handler(mmap_id, error_type):
323 print('[{}] has error {}'.format(mmap_id, error_type))
324 return mmkv.MMKVErrorType.OnErrorRecover
325
326
327def content_change_handler(mmap_id):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected