export type ErrorCode = number; /** * Error codes for Chroma SDK */ export declare namespace ErrorCode { /** Invalid. */ const INVALID: ErrorCode; /** Success. */ const SUCCESS: ErrorCode; /** Access denied. */ const ACCESS_DENIED: ErrorCode; /** Invalid handle. */ const INVALID_HANDLE: ErrorCode; /** Not supported */ const NOT_SUPPORTED: ErrorCode; /** Invalid parameter. */ const INVALID_PARAMETER: ErrorCode; /** The service has not been started. */ const SERVICE_NOT_ACTIVE: ErrorCode; /** Cannot start more than one instance of the specified program. */ const SINGLE_INSTANCE_APP: ErrorCode; /** Device not connected. */ const DEVICE_NOT_CONNECTED: ErrorCode; /** Element not found. */ const NOT_FOUND: ErrorCode; /** Request aborted. */ const REQUEST_ABORTED: ErrorCode; /** An attempt was made to perform an initialization operation when initialization has already been completed. */ const ALREADY_INITIALIZED: ErrorCode; /** Resource not available or disabled. */ const RESOURCE_DISABLED: ErrorCode; /** Device not available or supported. */ const DEVICE_NOT_AVAILABLE: ErrorCode; /** The group or resource is not in the correct state to perform the requested operation. */ const NOT_VALID_STATE: ErrorCode; /** No more items. */ const NO_MORE_ITEMS: ErrorCode; /** General failure. */ const FAILED: ErrorCode; }