Skip to main content
Version: 1.2

Errors

Some FDC3 API operations return promises that can result in errors.

OpenError

enum OpenError {
AppNotFound = "AppNotFound",
ErrorOnLaunch = "ErrorOnLaunch",
AppTimeout = "AppTimeout",
ResolverUnavailable = "ResolverUnavailable"
}

Contains constants representing the errors that can be encountered when calling the open method on the DesktopAgent object.

See also

ResolveError

enum ResolveError {
NoAppsFound = "NoAppsFound",
ResolverUnavailable = "ResolverUnavailable",
ResolverTimeout = "ResolverTimeout"
}

Contains constants representing the errors that can be encountered when calling the findIntent or findIntentsByContext methods on the DesktopAgent.

See also

ChannelError

enum ChannelError {
NoChannelFound = "NoChannelFound",
AccessDenied = "AccessDenied",
CreationFailed = "CreationFailed"
}

Contains constants representing the errors that can be encountered when calling channels using the joinChannel or getOrCreateChannel methods, or the getCurrentContext, broadcast or addContextListener methods on the Channel object.

See also