Exception: Cadenza::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Cadenza::Error
- Defined in:
- lib/cadenza/error.rb
Overview
The Error class is the base class of all types of errors Cadenza will raise, this should make exception handling much simpler for you.
Example:
begin
Cadenza.parse("some {{ invalid template")
rescue Cadenza::Error => e
puts "oh noes!"
end