<?php namespace Tool\ShanTaoTool\Exception; class PayException extends \Exception { public function __construct($msg) { parent::__construct($msg,500); } }