Skip to content

beryl/error

Shared beryl-owned error helpers.

A 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.

pub type StartFailure

Convert a startup failure to a human-readable diagnostic string.

pub fn describe_start_failure(StartFailure) -> String

Convert a gleam/otp/actor.StartError into beryl's StartFailure.

pub fn from_actor_start_error(actor.StartError) -> StartFailure