2016-08-29 19:47:30 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Exceptions;
|
|
|
|
|
|
|
|
class PrettyPageException extends \Exception
|
|
|
|
{
|
2019-04-04 19:44:17 +08:00
|
|
|
public function render()
|
2016-09-04 17:05:30 +08:00
|
|
|
{
|
2016-09-30 23:21:04 +08:00
|
|
|
return response()->view('errors.pretty', ['code' => $this->code, 'message' => $this->message]);
|
2016-09-04 17:05:30 +08:00
|
|
|
}
|
2016-08-29 19:47:30 +08:00
|
|
|
}
|