package kurrent.rpc

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message AccessDeniedErrorDetails

errors.proto:125

Details for ACCESS_DENIED errors.

message ErrorMetadata

rpc.proto:41

ErrorMetadata provides actionable information for error enum values to enable automated code generation, documentation, and consistent error handling across the Kurrent platform. It was modeled to support a single details type per error code to simplify code generation and validation. If multiple detail types are needed for a single error code, consider defining separate error codes for each detail type. Or, use a union type (oneof) in the detail message to encapsulate multiple detail variants within a single detail message. More however DebugInfo and RetryInfo can and should be added to any error regardless of this setting, when applicable. This annotation is applied to enum values using the google.protobuf.EnumValueOptions extension mechanism. It enables: - Automatic gRPC status code mapping - Code generation for error handling utilities - Documentation generation - Type-safe error detail validation Usage Example: enum StreamErrorCode { REVISION_CONFLICT = 5 [(kurrent.rpc.error) = { status_code: FAILED_PRECONDITION, has_details: true }]; } See individual field documentation for conventions and defaults.

message NotLeaderNodeErrorDetails

errors.proto:137

Details for NOT_LEADER_NODE errors.

message NotLeaderNodeErrorDetails.NodeInfo

errors.proto:142

Information about a cluster node.

Used in: NotLeaderNodeErrorDetails

enum ServerError

errors.proto:15

The canonical server error codes for the Kurrent Platform gRPC APIs. These errors represent common failure modes across all Kurrent services.