struct Raft::RPC::ErrorMessage

Overview

General-purpose error frame sent before closing a connection.

Used by the handshake responder to signal authentication failure. Can be reused for other protocol-level errors in the future.

Defined in:

raft/rpc.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(message : String) #

[View source]

Instance Method Detail

def message : String #

Human-readable error description.


[View source]
def type : Type #

[View source]