add #api_error to errors object
Merge pull request #6 from wastebits/fix_session_error

add Session#api_error to errors object