pub enum ReviewerError {
Show 20 variants
MissingModel {
role: String,
},
SameModelWithoutWaiver {
watched_model: String,
reviewer_model: String,
},
StrictArbiterModelNotDistinct,
UnsupportedCustomHarness,
UnknownAgent {
value: String,
},
UnknownHarness {
value: String,
},
MissingReviewTarget,
ClaimFileRead {
path: PathBuf,
source: Error,
},
VerdictParse {
output: String,
},
ReviewerProcessFailed {
status: Option<i32>,
stderr: String,
},
GitFailed {
args: Vec<String>,
stderr: String,
},
GitSpawn(Error),
Spawn(Error),
MissingStdinPipe,
WritePrompt(Error),
Wait(Error),
QueueIo(Error),
QueueJson(Error),
Claim(ClaimError),
Ledger(LedgerError),
}Variants§
MissingModel
SameModelWithoutWaiver
StrictArbiterModelNotDistinct
UnsupportedCustomHarness
UnknownAgent
UnknownHarness
MissingReviewTarget
ClaimFileRead
VerdictParse
ReviewerProcessFailed
GitFailed
GitSpawn(Error)
Spawn(Error)
MissingStdinPipe
WritePrompt(Error)
Wait(Error)
QueueIo(Error)
QueueJson(Error)
Claim(ClaimError)
Ledger(LedgerError)
Trait Implementations§
Source§impl Debug for ReviewerError
impl Debug for ReviewerError
Source§impl Display for ReviewerError
impl Display for ReviewerError
Source§impl Error for ReviewerError
impl Error for ReviewerError
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<ClaimError> for ReviewerError
impl From<ClaimError> for ReviewerError
Source§fn from(source: ClaimError) -> Self
fn from(source: ClaimError) -> Self
Converts to this type from the input type.
Source§impl From<LedgerError> for ReviewerError
impl From<LedgerError> for ReviewerError
Source§fn from(source: LedgerError) -> Self
fn from(source: LedgerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ReviewerError
impl !UnwindSafe for ReviewerError
impl Freeze for ReviewerError
impl Send for ReviewerError
impl Sync for ReviewerError
impl Unpin for ReviewerError
impl UnsafeUnpin for ReviewerError
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