pub enum BuildError {
Api(VeracodeError),
BuildNotFound,
ApplicationNotFound,
SandboxNotFound,
InvalidParameter(String),
CreationFailed(String),
UpdateFailed(String),
DeletionFailed(String),
XmlParsingError(String),
Unauthorized,
PermissionDenied,
BuildInProgress,
}
Expand description
Build specific error types
Variants§
Api(VeracodeError)
Veracode API error
BuildNotFound
Build not found
ApplicationNotFound
Application not found
SandboxNotFound
Sandbox not found
InvalidParameter(String)
Invalid parameter
CreationFailed(String)
Build creation failed
UpdateFailed(String)
Build update failed
DeletionFailed(String)
Build deletion failed
XmlParsingError(String)
XML parsing error
Unauthorized access
PermissionDenied
Permission denied
BuildInProgress
Build in progress (cannot modify)
Trait Implementations§
Source§impl Debug for BuildError
impl Debug for BuildError
Source§impl Display for BuildError
impl Display for BuildError
Source§impl Error for BuildError
impl Error for BuildError
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<BuildError> for WorkflowError
impl From<BuildError> for WorkflowError
Source§fn from(err: BuildError) -> Self
fn from(err: BuildError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for BuildError
impl From<Error> for BuildError
Source§impl From<Error> for BuildError
impl From<Error> for BuildError
Source§impl From<VeracodeError> for BuildError
impl From<VeracodeError> for BuildError
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 BuildError
impl !RefUnwindSafe for BuildError
impl Send for BuildError
impl Sync for BuildError
impl Unpin for BuildError
impl !UnwindSafe for BuildError
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.