Added  more docs. Moved error/success out of try/catch