provide useful messages for all endpoint hook errors