Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Runtime panic terminates the process

Platform spec ADR

Runtime panic terminates the process

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Language Option covers expected errors. Unrecoverable faults and some IO failures need a distinct path that does not conflate with Result channel semantics.

MechanismUse
Option / ResultExpected failures (language-meta + corelib)
panic / panic_strUnrecoverable faults, hard IO faults in v1 streams, allocation failures
UnwindNo Beskid stack unwinding across panics
OutcomeRuntime panics terminate the process (trap / abort)
Builtin kindAbiReturnKind::Never in BUILTIN_SPECS

Corelib must not catch panics for ordinary control flow. Fiber Detach panics still abort unless future domain recovery is specified.

beskid_runtime::builtins::panic_io; e2e runtime cases.