@extends('base')

@section('content')
<div class="row">
    <div class="col-md-12">
        <h1 class="text-danger">Code {{ $exception->getStatusCode() }} : Erreur lors de la requête </h1>
        <p class="lead">{{ $exception->getMessage() }}</p>
        <button class="btn btn-default collapsed btn-xs error-btn" type="button" data-toggle="collapse" data-target="#baseExceptionCollapse" aria-expanded="false" aria-controls="detailException">
            <span class="caret"></span>
        </button>
        <div class="collapse" id="baseExceptionCollapse">
            <div class="well">{{ $exception->getPrevious()->getCode() }}: <code>{{ htmlspecialchars($exception->getPrevious()->getMessage(), ENT_SUBSTITUTE) }}</code></div>
        </div>
    </div>
</div>

@endsection
