Skip to content

PlatformError

The shape of a rejected SDK promise (invoke, a service request, or a denied surface).

code: string;

Machine-readable code (e.g. NO_PROVIDER, PERMISSION_DENIED, TIMEOUT, HANDLER_ERROR).


optional details?: unknown;

Optional structured context attached by the provider or the shell.


message: string;

Human-readable description.