added stub handler for error