Exception: Exception
- Defined in:
- lib/jsonorama/exception.rb
Direct Known Subclasses
Jsonorama::JsonClient::ClientError, Jsonorama::JsonClient::ServerError
Instance Method Summary collapse
Instance Method Details
#as_json ⇒ Object
2 3 4 |
# File 'lib/jsonorama/exception.rb', line 2 def as_json {:class_name => self.class.name.to_s, :message => self., :backtrace => self.backtrace} end |