Class CloudServers::Exception
In: lib/cloudservers/exception.rb
Parent: Object

Methods

Classes and Modules

Class CloudServers::Exception::CloudServersError

Public Class methods

In the event of a non-200 HTTP status code, this method takes the HTTP response, parses the JSON from the body to get more information about the exception, then raises the proper error. Note that all exceptions are scoped in the CloudServers::Exception namespace.

[Validate]