class TinyFB::FaceBookError

Exception Class

May be raised by node, raw_node, post and post_file

You have to catch this exception in your code

Attributes

code[RW]
error_msg[RW]

Public Class Methods

new(error_code, error_msg) click to toggle source

Error that happens during a facebook call.

Calls superclass method
# File lib/tiny_fb_graph.rb, line 137
def initialize(error_code, error_msg)
    @code = error_code
    @error_msg = error_msg
    super("Facebook error #{error_code}: #{error_msg}")
end