title: Laravel - How to a try/catch in blade view?
body: <p>I would like to create a way to compile in a view, the try/catch.
  How can I do this in Laravel?</p>
  
  <p>Example:</p>
  
  <pre><code>@try
  &lt;div class="laravel test"&gt;
      {{ $user-&gt;name }}
  &lt;/div&gt;
  @catch(Exception $e)
      {{ $e-&gt;getMessage() }}
  @endtry
  </code></pre>