beryl/error
Shared beryl-owned error helpers.
StartFailure
Section titled “StartFailure”pub type StartFailureA stable description of an internal beryl actor startup failure.
This type hides OTP's actor.StartError so public APIs do not expose
dependency-specific error constructors.
Functions
Section titled “Functions”describe_start_failure
Section titled “describe_start_failure”pub fn describe_start_failure(StartFailure) -> StringReturn a human-readable description of a startup failure.
Abnormal exits retain their underlying reason internally. Their description includes a depth- and length-limited rendering so large exit terms cannot produce unbounded diagnostic output.
from_actor_start_error
Section titled “from_actor_start_error”pub fn from_actor_start_error(actor.StartError) -> StartFailureConvert a gleam/otp/actor.StartError to beryl's StartFailure.
