pub enum ArgumentFault {
InvalidDimension,
UnknownCrs,
InvalidLatitude,
NonFiniteCoordinate,
WrongType,
General(ErrorKind),
}Expand description
The per-site fault of a run-time argument rejection
(Error::ArgumentValue): either one of the sites whose live GQLSTATUS
is its own, or Self::General for the kind-carrying sites that keep
the general one. Live Neo4j (2026.09/2026.10) reports point()’s in-map
rejections under one ArgumentError class but a code per rejection
site; the classifier maps each variant to that code, so the code is
data the site names, never recovered from the message text. The fault
also fixes the detail token’s ErrorKind (Self::kind), so the
two cannot disagree, and the variant carries no second copy of it.
Variants§
InvalidDimension
The srid does not match the coordinate dimension (22N20).
UnknownCrs
An unknown srid code or crs name (22N21).
InvalidLatitude
A latitude outside [-90, 90] (22N23).
NonFiniteCoordinate
A NaN or infinite coordinate (22N24).
WrongType
A wrong-typed argument (22N27, classified under the type family’s 22G03).
General(ErrorKind)
A site with no GQLSTATUS of its own: the detail token names kind
and the classifier keeps the general status.
Implementations§
Trait Implementations§
Source§impl Clone for ArgumentFault
impl Clone for ArgumentFault
impl Copy for ArgumentFault
Source§impl Debug for ArgumentFault
impl Debug for ArgumentFault
impl Eq for ArgumentFault
Source§impl PartialEq for ArgumentFault
impl PartialEq for ArgumentFault
impl StructuralPartialEq for ArgumentFault
Auto Trait Implementations§
impl Forget for ArgumentFault
impl Freeze for ArgumentFault
impl Move for ArgumentFault
impl RefUnwindSafe for ArgumentFault
impl Send for ArgumentFault
impl Sync for ArgumentFault
impl Unpin for ArgumentFault
impl UnsafeUnpin for ArgumentFault
impl UnwindSafe for ArgumentFault
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.