Convert intentional crashes to {error, Reason} returns