Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Missing space

  • Loading branch information...
commit 960300de660e7cd6ae3e93421ef6a4d9dcb92a26 1 parent d334099
Henare Degan authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  features.html
2  features.html
@@ -62,7 +62,7 @@ <h2 id='parts'>Parts</h2>
62 62 </p>
63 63 <h2 id='exceptions'>Exceptions</h2>
64 64 <p>
65   - Merb also handles exceptions interestingly. Instead of exception raising throwing an error in your application, Merb catches certain types of exceptions and allows you to handle them in a controller/view fashion. For instance, raising <code>NotFound</code> will call the <code>Exception#not_found</code> action, which you can customizeas appropriate. Raising an error in this way will also send the appropriate error-code back to the browser.
  65 + Merb also handles exceptions interestingly. Instead of exception raising throwing an error in your application, Merb catches certain types of exceptions and allows you to handle them in a controller/view fashion. For instance, raising <code>NotFound</code> will call the <code>Exception#not_found</code> action, which you can customize as appropriate. Raising an error in this way will also send the appropriate error-code back to the browser.
66 66 </p>
67 67 <p>
68 68 All <span class="caps">HTTP</span> error codes are defined in Merb as Exception classes, so you can raise <code>NotAcceptable</code>, which will call <code>Exception#not_acceptable</code>, and return a 406 error to the client.

0 comments on commit 960300d

Please sign in to comment.
Something went wrong with that request. Please try again.