HomePhabricator
Diffusion Comm ab9fe33b4536

[web-db] change Error type to string

Description

[web-db] change Error type to string

Summary:
Because of the Safari problems with structured clone algorithm we can not send objects with methods between threads.
Error objects has some methods inside core definition.

That was causing DataCloneError: The object could not be cloned..

Test Plan: Check is error are properly handled.

Reviewers: michal, tomek

Reviewed By: tomek

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D8116

Details

Provenance
kamilAuthored on Jun 5 2023, 3:36 AM
Reviewer
tomek
Differential Revision
D8116: [web-db] change Error type to string
Parents
rCOMMe6fa794e3f30: [web] Move avatar-related components to `avatars/`
Branches
Unknown
Tags
Unknown