Exception: ACTV::Error::ServerError

Inherits:
ACTV::Error
  • Object
show all
Defined in:
lib/actv/error/server_error.rb

Overview

Raised when Active returns a 5xx HTTP status code

Constant Summary collapse

MESSAGE =
"Server Error"

Instance Attribute Summary

Attributes inherited from ACTV::Error

#wrapped_exception

Instance Method Summary collapse

Methods inherited from ACTV::Error

#backtrace, descendants, errors

Constructor Details

#initialize(message = nil) ⇒ Twitter::Error::ServerError

Initializes a new ServerError object

Parameters:

  • message (String) (defaults to: nil)


13
14
15
# File 'lib/actv/error/server_error.rb', line 13

def initialize(message=nil)
  super(message || self.class.const_get(:MESSAGE))
end