pub enum NativeLaunchProfileError {
Show 34 variants
EmptyId,
IdTooLong {
len: usize,
max: usize,
},
InvalidId,
UnsupportedTransport,
EmptyEnvironmentOwnership,
TooManyEnvironmentMutations {
count: usize,
max: usize,
},
InvalidEnvironmentKey {
index: usize,
},
ReservedHookEnvironmentKey {
index: usize,
},
DuplicateEnvironmentKey {
index: usize,
},
EnvironmentValueTooLong {
index: usize,
max: usize,
},
InvalidEnvironmentValue {
index: usize,
},
EnvironmentPayloadTooLarge {
max: usize,
},
EnvironmentOwnershipMismatch,
RequiredEnvironmentValueMissing,
FixedEnvironmentValueMismatch,
ProfileCapacityExceeded {
max: usize,
},
UnknownProfile {
profile_id: NativeLaunchProfileId,
},
BindingMismatch,
OneShotSessionPersistenceBindingMismatch,
InstanceOverlayUnsupportedTransport,
McpServerOverlayBindingMismatch {
transport: TransportKind,
overlay_provider: AgentId,
spawn_provider: AgentId,
},
SelectionCapacityExceeded {
max: usize,
},
EnvironmentOverlaySelectionMissing,
EnvironmentOverlayBindingMismatch,
EnvironmentOverlayKeyConflict,
EnvironmentOverlayCapacityExceeded {
max: usize,
},
TooManyLaunchArguments {
count: usize,
max: usize,
},
InvalidLaunchArgument {
index: usize,
},
LaunchArgumentTooLong {
index: usize,
max: usize,
},
LaunchArgumentsPayloadTooLarge {
max: usize,
},
ReservedClaudeLaunchArgument {
index: usize,
},
ProfileInUse,
Resolve(NativeChildEnvironmentResolveError),
McpServerSpec(McpServerSpecError),
}Variants§
EmptyId
IdTooLong
InvalidId
UnsupportedTransport
EmptyEnvironmentOwnership
TooManyEnvironmentMutations
InvalidEnvironmentKey
ReservedHookEnvironmentKey
DuplicateEnvironmentKey
EnvironmentValueTooLong
InvalidEnvironmentValue
EnvironmentPayloadTooLarge
EnvironmentOwnershipMismatch
RequiredEnvironmentValueMissing
FixedEnvironmentValueMismatch
ProfileCapacityExceeded
UnknownProfile
Fields
§
profile_id: NativeLaunchProfileIdBindingMismatch
OneShotSessionPersistenceBindingMismatch
InstanceOverlayUnsupportedTransport
McpServerOverlayBindingMismatch
SelectionCapacityExceeded
EnvironmentOverlaySelectionMissing
EnvironmentOverlayBindingMismatch
EnvironmentOverlayKeyConflict
EnvironmentOverlayCapacityExceeded
TooManyLaunchArguments
InvalidLaunchArgument
LaunchArgumentTooLong
LaunchArgumentsPayloadTooLarge
ReservedClaudeLaunchArgument
ProfileInUse
Resolve(NativeChildEnvironmentResolveError)
McpServerSpec(McpServerSpecError)
Trait Implementations§
Source§impl Debug for NativeLaunchProfileError
impl Debug for NativeLaunchProfileError
Source§impl Display for NativeLaunchProfileError
impl Display for NativeLaunchProfileError
impl Eq for NativeLaunchProfileError
Source§impl Error for NativeLaunchProfileError
impl Error for NativeLaunchProfileError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<McpServerSpecError> for NativeLaunchProfileError
impl From<McpServerSpecError> for NativeLaunchProfileError
Source§fn from(source: McpServerSpecError) -> Self
fn from(source: McpServerSpecError) -> Self
Converts to this type from the input type.
Source§impl From<NativeChildEnvironmentResolveError> for NativeLaunchProfileError
impl From<NativeChildEnvironmentResolveError> for NativeLaunchProfileError
Source§fn from(source: NativeChildEnvironmentResolveError) -> Self
fn from(source: NativeChildEnvironmentResolveError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NativeLaunchProfileError
impl PartialEq for NativeLaunchProfileError
impl StructuralPartialEq for NativeLaunchProfileError
Auto Trait Implementations§
impl Freeze for NativeLaunchProfileError
impl RefUnwindSafe for NativeLaunchProfileError
impl Send for NativeLaunchProfileError
impl Sync for NativeLaunchProfileError
impl Unpin for NativeLaunchProfileError
impl UnsafeUnpin for NativeLaunchProfileError
impl UnwindSafe for NativeLaunchProfileError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more