Interesting point about Erlang! Where can I find more info on that specific aspect?
If you can tolerate a video, my talk from Midwest.io covers it to some degree.
It’s really just a happy byproduct of the overall design of the language and VM. The two primary features that make it happen are immutability and ubiquitous pattern matching.
Orthogonal: one of my favorite talking points about Erlang is the fact that nearly every line of code is an assertion, and that those assertions are always enabled, even in production.
You’d not want to use Erlang for truly high performance code, granted.