Setting php E_NOTICE within my .module file
I've never tried this, but if you don't mind modifying core on your dev server you can change drupal_error_handler(): examine the results of debug_backtrace(), decide if the error came via your module and act appropriately.