Enum extendr_api::error::Error
source · pub enum Error {
Show 47 variants
Panic(Robj),
NotFound(Robj),
EvalError(Robj),
ParseError(Robj),
NamesLengthMismatch(Robj),
ExpectedNull(Robj),
ExpectedSymbol(Robj),
ExpectedPairlist(Robj),
ExpectedFunction(Robj),
ExpectedEnvironment(Robj),
ExpectedPromise(Robj),
ExpectedLanguage(Robj),
ExpectedSpecial(Robj),
ExpectedBuiltin(Robj),
ExpectedRstr(Robj),
ExpectedLogical(Robj),
ExpectedInteger(Robj),
ExpectedReal(Robj),
ExpectedComplex(Robj),
ExpectedString(Robj),
ExpectedDot(Robj),
ExpectedAny(Robj),
ExpectedList(Robj),
ExpectedExpression(Robj),
ExpectedBytecode(Robj),
ExpectedExternalPtr(Robj),
ExpectedWeakRef(Robj),
ExpectedRaw(Robj),
ExpectedS4(Robj),
ExpectedPrimitive(Robj),
ExpectedScalar(Robj),
ExpectedVector(Robj),
ExpectedMatrix(Robj),
ExpectedMatrix3D(Robj),
ExpectedNumeric(Robj),
ExpectedAltrep(Robj),
ExpectedDataframe(Robj),
OutOfRange(Robj),
MustNotBeNA(Robj),
ExpectedNonZeroLength(Robj),
ExpectedWholeNumber(Robj),
OutOfLimits(Robj),
TypeMismatch(Robj),
NamespaceNotFound(Robj),
NoGraphicsDevices(Robj),
ExpectedExternalPtrType(Robj, String),
Other(String),
}
Variants§
Panic(Robj)
NotFound(Robj)
EvalError(Robj)
ParseError(Robj)
NamesLengthMismatch(Robj)
ExpectedNull(Robj)
ExpectedSymbol(Robj)
ExpectedPairlist(Robj)
ExpectedFunction(Robj)
ExpectedEnvironment(Robj)
ExpectedPromise(Robj)
ExpectedLanguage(Robj)
ExpectedSpecial(Robj)
ExpectedBuiltin(Robj)
ExpectedRstr(Robj)
ExpectedLogical(Robj)
ExpectedInteger(Robj)
ExpectedReal(Robj)
ExpectedComplex(Robj)
ExpectedString(Robj)
ExpectedDot(Robj)
ExpectedAny(Robj)
ExpectedList(Robj)
ExpectedExpression(Robj)
ExpectedBytecode(Robj)
ExpectedExternalPtr(Robj)
ExpectedWeakRef(Robj)
ExpectedRaw(Robj)
ExpectedS4(Robj)
ExpectedPrimitive(Robj)
ExpectedScalar(Robj)
ExpectedVector(Robj)
ExpectedMatrix(Robj)
ExpectedMatrix3D(Robj)
ExpectedNumeric(Robj)
ExpectedAltrep(Robj)
ExpectedDataframe(Robj)
OutOfRange(Robj)
MustNotBeNA(Robj)
ExpectedNonZeroLength(Robj)
ExpectedWholeNumber(Robj)
OutOfLimits(Robj)
TypeMismatch(Robj)
NamespaceNotFound(Robj)
NoGraphicsDevices(Robj)
ExpectedExternalPtrType(Robj, String)
Other(String)
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Infallible> for Error
impl From<Infallible> for Error
source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.