valueOrThrow

Returns the value on success, or throws SwitchboardException if the result is an error.

Return

The wrapped value.

Throws

if the result is an error.