Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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