Throw error message on fail.