#[non_exhaustive]pub enum DataExceptionSubclass {
Show 33 variants
DataException,
StringDataRightTruncation,
NumericValueOutOfRange,
NullValueNotAllowed,
InvalidDatetimeFormat,
SubstringError,
DivisionByZero,
InvalidArgumentForNaturalLogarithm,
InvalidArgumentForPowerFunction,
TrimError,
InvalidCharacterValueForCast,
InvalidTimeZone,
NegativeLimitValue,
InvalidValueType,
ValuesNotComparable,
InvalidDatetimeFunctionFieldName,
InvalidDatetimeFunctionValue,
InvalidDurationFunctionFieldName,
ListDataRightTruncation,
ListElementError,
InvalidDurationFormat,
PathDataRightTruncation,
IncompatibleTemporalInstantUnitGroups,
MultipleAssignmentsToGraphElementProperty,
NodeLabelsBelowSupportedMinimum,
NodeLabelsExceedSupportedMaximum,
EdgeLabelsBelowSupportedMinimum,
EdgeLabelsExceedSupportedMaximum,
NodePropertiesExceedSupportedMaximum,
EdgePropertiesExceedSupportedMaximum,
RecordFieldsDoNotMatch,
RecordDataFieldUnassignable,
MalformedPath,
}Expand description
Table 8 data-exception subclasses used by runtime evaluation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
DataException
Generic data exception fallback for genuinely unclassified runtime data failures.
StringDataRightTruncation
String data, right truncation (22001).
NumericValueOutOfRange
Numeric value out of range (22003).
NullValueNotAllowed
Null value not allowed (22004).
InvalidDatetimeFormat
Invalid datetime format (22007).
SubstringError
Substring error (22011).
DivisionByZero
Division by zero (22012).
InvalidArgumentForNaturalLogarithm
Invalid argument for natural logarithm (2201E).
InvalidArgumentForPowerFunction
Invalid argument for power function (2201F).
TrimError
Trim error (22027).
InvalidCharacterValueForCast
Invalid character value for cast (22018).
InvalidTimeZone
Invalid time zone displacement value (22009).
NegativeLimitValue
Negative limit value (22G02).
InvalidValueType
Invalid value type (22G03).
ValuesNotComparable
Values not comparable (22G04).
InvalidDatetimeFunctionFieldName
Invalid date, time, or datetime function field name (22G05).
InvalidDatetimeFunctionValue
Invalid date, time, or datetime function value (22G06).
InvalidDurationFunctionFieldName
Invalid duration function field name (22G07).
ListDataRightTruncation
List data, right truncation (22G0B).
ListElementError
List element error (22G0C).
InvalidDurationFormat
Invalid duration format (22G0H).
PathDataRightTruncation
Path data, right truncation (22G10).
IncompatibleTemporalInstantUnitGroups
Incompatible temporal instant unit groups (22G14).
MultipleAssignmentsToGraphElementProperty
Multiple assignments to a graph element property (22G0M).
NodeLabelsBelowSupportedMinimum
Number of node labels below supported minimum (22G0N).
NodeLabelsExceedSupportedMaximum
Number of node labels exceeds supported maximum (22G0P).
EdgeLabelsBelowSupportedMinimum
Number of edge labels below supported minimum (22G0Q).
EdgeLabelsExceedSupportedMaximum
Number of edge labels exceeds supported maximum (22G0R).
NodePropertiesExceedSupportedMaximum
Number of node properties exceeds supported maximum (22G0S).
EdgePropertiesExceedSupportedMaximum
Number of edge properties exceeds supported maximum (22G0T).
RecordFieldsDoNotMatch
Record fields do not match the target record type on CAST (22G0U).
RecordDataFieldUnassignable
Record data field unassignable (22G0X).
MalformedPath
Malformed path (22G0Z).
Implementations§
Trait Implementations§
Source§impl Clone for DataExceptionSubclass
impl Clone for DataExceptionSubclass
Source§fn clone(&self) -> DataExceptionSubclass
fn clone(&self) -> DataExceptionSubclass
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for DataExceptionSubclass
Source§impl Debug for DataExceptionSubclass
impl Debug for DataExceptionSubclass
impl Eq for DataExceptionSubclass
Source§impl PartialEq for DataExceptionSubclass
impl PartialEq for DataExceptionSubclass
Source§fn eq(&self, other: &DataExceptionSubclass) -> bool
fn eq(&self, other: &DataExceptionSubclass) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DataExceptionSubclass
Auto Trait Implementations§
impl Freeze for DataExceptionSubclass
impl RefUnwindSafe for DataExceptionSubclass
impl Send for DataExceptionSubclass
impl Sync for DataExceptionSubclass
impl Unpin for DataExceptionSubclass
impl UnsafeUnpin for DataExceptionSubclass
impl UnwindSafe for DataExceptionSubclass
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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.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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.