example listen error validation