The api for the bugfreak error tool