Class IntakeExceptions
java.lang.Object
ai.pipeline.connector.intake.error.IntakeExceptions
Normalizes any failure into a client-safe
IntakeException. Used at the
gRPC and HTTP boundaries so an arbitrary thrown Throwable becomes a
curated code + message before anything reaches a client.-
Method Summary
Modifier and TypeMethodDescriptionstatic IntakeExceptionReturnstif it is already anIntakeException(preserving its code), otherwise classifies it viaIntakeServiceException.fromUpstream(Throwable).
-
Method Details
-
toIntake
Returnstif it is already anIntakeException(preserving its code), otherwise classifies it viaIntakeServiceException.fromUpstream(Throwable).
-