Conceptually it's almost the same thing as checked/unchecked exceptions (ignoring Java's bad implementation). Known types are checked, runtime-injected are unchecked and mostly handled implicitly by propagating.
Rendered at 21:32:01 GMT+0000 (Coordinated Universal Time) with Vercel.
A #[non_exhaustive] type (Promise<T,E⁇> maybe) would probably be handy sometimes: https://rust-lang.github.io/rfcs/2008-non-exhaustive.html
Conceptually it's almost the same thing as checked/unchecked exceptions (ignoring Java's bad implementation). Known types are checked, runtime-injected are unchecked and mostly handled implicitly by propagating.