Skip to content

Cross platform - how to handle xsUnknownError for unimplemented features #171

@wilberforce

Description

@wilberforce

On the ESP32 - this is fine, trying to dump available space in the filesystem.

try {
let info = System.info();
trace(JSON.stringify(info),'\n\n');
} catch {
	trace('no system info');
}

however it win it thows:
..\moddable\modules\files\file\win\modFile.c (297) # Break: (host): unimplemented!

even though it's in a try/catch

What is the best way to handle cross platform differences when developing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions