Skip to main content

Module errors

Module errors 

Source
Expand description

Helpers for handling errors encountered by operators.

§DataflowErrorSer

DataflowErrorSer is a serialized byte representation of DataflowError used on compute-internal dataflow edges instead of DataflowError directly.

It is backed by proto-encoded ProtoDataflowError bytes. Because proto3 + prost + no map fields = deterministic encoding, byte-equality implies semantic equality, which lets us use Ord, Hash, etc. directly on the bytes.

Invariant: NEVER add map fields to ProtoDataflowError or any of its transitive message types, as map fields have non-deterministic encoding order in protobuf.

Structs§

DataflowErrorSer
Serialized representation of a DataflowError, backed by proto-encoded bytes.
DataflowErrorSerContainer
Derived columnar container for a struct.
DataflowErrorSerReference
Derived columnar reference for a struct.
DataflowErrorSerRegion
A Region for DataflowErrorSer, delegating to the region for Vec<u8>.
ErrorLogger 🔒
Error logger to be used by rendering code.

Traits§

MaybeValidatingRow 🔒
Used to make possibly-validating code generic: think of this as a kind of MaybeResult, specialized for use in compute. Validation code will only run when the error constructor is Some.