* @license MIT * @link http://www.brightnucleus.com/ * @copyright 2015-2016 Alain Schlesser, Bright Nucleus */ namespace BrightNucleus\Exception; /** * Interface ExceptionInterface. * * @since 0.1.0 * * @package BrightNucleus\Exception * @author Alain Schlesser */ interface ExceptionInterface { /** * Get the name of the module that has thrown the exception. * * @since 1.0.0 * * @return string Name of the module that has thrown the exception. */ public function getModule(); /** * Set the name of the module that has thrown the exception. * * @since 1.0.0 * * @param string $module Name of the module that has thrown the exception. */ public function setModule($module); }