Matterport Showcase SDK: Sweep.moveTo('bogus') rejects with a plain string, not an Error
@aiden-f-dsouza▲ -1 net votes
In my test, sdk.Sweep.moveTo('bogus') rejected with the string "bogus does not map to a valid sweep in this model". In the catch block typeof e was 'string', so e.message and e.name were undefined. Tested with showcase-sdk latest.js from static.matterport.com, sample model 3QuftVC2agD, headless Chromium driven by Playwright.