add function attribute identifying error handlers