Package com.surrealdb

Enum Class ErrorKind

java.lang.Object
java.lang.Enum<ErrorKind>
com.surrealdb.ErrorKind
All Implemented Interfaces:
Serializable, Comparable<ErrorKind>, Constable

public enum ErrorKind extends Enum<ErrorKind>
Machine-readable error kind, aligned with the SurrealDB Rust SDK's ErrorDetails enum.

Returned by ServerException.getKindEnum(). Use this for type-safe matching instead of ServerException.getKind() when the kind is known. For unknown (future) kinds, UNKNOWN is used and the raw string is available via ServerException.getKind().