Package app.ductape.sdk.vector.utils
Class VectorError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
app.ductape.sdk.vector.utils.VectorError
- All Implemented Interfaces:
DuctapeError,Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionVectorError(String message) VectorError(String message, VectorTypes.VectorErrorType type) VectorError(String message, VectorTypes.VectorErrorType type, VectorTypes.VectorDBType dbType, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptioncode()Stable machine-readable code, suitable for logs and API envelopes.static VectorErrorconfigurationError(String message) static VectorErrorconnectionError(String message, VectorTypes.VectorDBType dbType) dbType()TS-style payload for logging/API surfaces —typeusesVectorTypes.VectorErrorType.wire()(matches TS JSON string enums).Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface app.ductape.sdk.core.errors.DuctapeError
details
-
Constructor Details
-
VectorError
-
VectorError
-
VectorError
public VectorError(String message, VectorTypes.VectorErrorType type, VectorTypes.VectorDBType dbType, Throwable cause)
-
-
Method Details
-
errorType
-
dbType
-
code
Description copied from interface:DuctapeErrorStable machine-readable code, suitable for logs and API envelopes.- Specified by:
codein interfaceDuctapeError
-
connectionError
-
configurationError
-
toWireMap
TS-style payload for logging/API surfaces —typeusesVectorTypes.VectorErrorType.wire()(matches TS JSON string enums).
-