feat(API): add process_exception.
bug(API): add feedback from pr