pub enum ReviewError {
Show 20 variants
SessionNotFound(String),
CommentNotFound(String),
DrawingNotFound(String),
TaskNotFound(String),
VersionNotFound(String),
UserNotFound(String),
PermissionDenied(String),
InvalidFrame(i64),
InvalidStateTransition(String),
SessionClosed,
CommentAlreadyResolved,
ApprovalAlreadySubmitted,
WorkflowValidation(String),
ExportError(String),
NotificationError(String),
SyncError(String),
InvalidConfig(String),
Io(Error),
Serialization(Error),
Other(String),
}Expand description
Errors that can occur during review operations.
Variants§
SessionNotFound(String)
Session not found.
CommentNotFound(String)
Comment not found.
DrawingNotFound(String)
Drawing not found.
TaskNotFound(String)
Task not found.
VersionNotFound(String)
Version not found.
UserNotFound(String)
User not found.
PermissionDenied(String)
Permission denied.
InvalidFrame(i64)
Invalid frame number.
InvalidStateTransition(String)
Invalid state transition.
SessionClosed
Session already closed.
CommentAlreadyResolved
Comment already resolved.
ApprovalAlreadySubmitted
Approval already submitted.
WorkflowValidation(String)
Workflow validation error.
ExportError(String)
Export error.
NotificationError(String)
Notification error.
SyncError(String)
Real-time sync error.
InvalidConfig(String)
Invalid configuration.
Io(Error)
IO error.
Serialization(Error)
Serialization error.
Other(String)
Other error.
Trait Implementations§
Source§impl Debug for ReviewError
impl Debug for ReviewError
Source§impl Display for ReviewError
impl Display for ReviewError
Source§impl Error for ReviewError
impl Error for ReviewError
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 ReviewError
impl From<Error> for ReviewError
Auto Trait Implementations§
impl !RefUnwindSafe for ReviewError
impl !UnwindSafe for ReviewError
impl Freeze for ReviewError
impl Send for ReviewError
impl Sync for ReviewError
impl Unpin for ReviewError
impl UnsafeUnpin for ReviewError
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