Exception: Poncho::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Poncho::Error
- Defined in:
- lib/poncho/error.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#as_json ⇒ Object
11 12 13 |
# File 'lib/poncho/error.rb', line 11 def as_json {:error => {:type => type, :message => }} end |
#to_json ⇒ Object
3 4 5 |
# File 'lib/poncho/error.rb', line 3 def to_json(*) as_json.to_json end |
#type ⇒ Object
7 8 9 |
# File 'lib/poncho/error.rb', line 7 def type inspect end |