Class: UserStream::Error

### Home Classes Methods

### In Files

- lib/user_stream/error.rb

### Parent

StandardError

### Methods

- ::new

### Class/Module Index

Quicksearch

- UserStream
- UserStream::API
- UserStream::Client
- UserStream::Configuration
- UserStream::Error
- UserStream::Forbidden
- UserStream::NotAcceptable
- UserStream::RangeUnacceptable
- UserStream::RateLimited
- UserStream::ServerInternalError
- UserStream::ServiceOverloaded
- UserStream::TooLong
- UserStream::Unauhtorized
- UserStream::Unknown

No matching classes.

# UserStream::Error

Custom error class for rescuing from all Twitter errors

### Attributes

response[R]

### Public Class Methods

new(msg, response = nil) click to toggle source

    # File lib/user_stream/error.rb, line 7
    def initialize(msg, response = nil)
      super(msg)
      @response = response
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.