Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function getMessage()
 {
     return ExceptionSupport::createMessage($this->exception);
 }
Exemplo n.º 2
0
            $display = interpolate("<span title=\"{title}\">{class}</span>", ['title' => $reflection->getName(), 'class' => $reflection->getShortName()]);
        }
        //Colorizing
        $display = $styler->style($display, 'value', $type);
        $display = interpolate("<span>{display}</span>", compact('display'));
        $result[] = $display;
    }
    return $result;
};
?>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>
        <?php 
echo \Spiral\Support\ExceptionSupport::createMessage($exception);
?>
    </title>
    <style>
        body.spiral-exception {
            font-family: Helvetica, sans-serif;
            background-color: #25000a;
            font-size: 14px;
            padding: 5px;
            color: #a1a1a1;
        }

        .spiral-exception .wrapper {
            padding: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, .7);
            background-color: #3a3a3a;