pub enum SandboxError {
Api(VeracodeError),
NotFound,
InvalidInput(String),
LimitExceeded,
OperationNotAllowed(String),
AlreadyExists(String),
}
Expand description
Sandbox-specific error types that extend the base VeracodeError
Variants§
Api(VeracodeError)
Veracode API error
NotFound
Sandbox not found
InvalidInput(String)
Invalid sandbox name or configuration
LimitExceeded
Maximum number of sandboxes reached
OperationNotAllowed(String)
Sandbox operation not allowed
AlreadyExists(String)
Sandbox already exists
Trait Implementations§
Source§impl Debug for SandboxError
impl Debug for SandboxError
Source§impl Display for SandboxError
impl Display for SandboxError
Source§impl Error for SandboxError
impl Error for SandboxError
1.30.0 · 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<Error> for SandboxError
impl From<Error> for SandboxError
Source§impl From<Error> for SandboxError
impl From<Error> for SandboxError
Source§impl From<SandboxError> for WorkflowError
impl From<SandboxError> for WorkflowError
Source§fn from(err: SandboxError) -> Self
fn from(err: SandboxError) -> Self
Converts to this type from the input type.
Source§impl From<VeracodeError> for SandboxError
impl From<VeracodeError> for SandboxError
Source§fn from(err: VeracodeError) -> Self
fn from(err: VeracodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SandboxError
impl !RefUnwindSafe for SandboxError
impl Send for SandboxError
impl Sync for SandboxError
impl Unpin for SandboxError
impl !UnwindSafe for SandboxError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.