fuchsia.component

ENUMS

Error

Type: uint32

Defined in fuchsia.component/error.fidl

Standard error codes for component framework protocols.

NameValueDescription
INTERNAL 1

Component manager encountered an otherwise unspecified error while performing the operation.

INVALID_ARGUMENTS 2

At least one argument had an invalid format.

UNSUPPORTED 3

The feature is not yet supported.

INSTANCE_NOT_FOUND 4

The component instance was not found.

INSTANCE_ALREADY_EXISTS 5

The component instance already exists.

INSTANCE_CANNOT_START 6

The component instance could not be started.

INSTANCE_CANNOT_RESOLVE 7

Failed to resolve the component's declaration.

COLLECTION_NOT_FOUND 8

The component collection was not found.

RESOURCE_UNAVAILABLE 9

There was insufficient resources to perform the operation.

INSTANCE_DIED 10

The component instance died unexpectedly.

CONSTANTS

NameValueTypeDescription
MAX_FACET_NAME_LENGTH 100 uint32
MAX_CHILD_NAME_LENGTH 100 uint32
MAX_COLLECTION_NAME_LENGTH 100 uint32
MAX_RUNNER_NAME_LENGTH 100 uint32
MAX_STORAGE_NAME_LENGTH 100 uint32
MAX_ENVIRONMENT_NAME_LENGTH 100 uint32
MAX_PATH_LENGTH 1024 uint32
MAX_MONIKER_LENGTH 4096 uint32
MAX_NUM_ENVIRONMENTS 100 uint32

The maximum number of environments a component can declare.

TYPE ALIASES

NameValueDescription
child_name string[MAX_CHILD_NAME_LENGTH]
collection_name string[MAX_COLLECTION_NAME_LENGTH]
runner_name string[MAX_RUNNER_NAME_LENGTH]
environment_name string[MAX_ENVIRONMENT_NAME_LENGTH]