. namespace core\exception; /** * An exception which is aware of the response class that should be used to handle it. * * @package core * @copyright 2024 Andrew Lyons * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ interface response_aware_exception { /** * Get the class name of the response that should be used to handle this exception. * * @return string */ public function get_response_classname(): string; }