{"id":13744989,"url":"https://github.com/StephanPartzsch/as3-airbrake-notifier","last_synced_at":"2025-05-09T04:33:02.344Z","repository":{"id":3130379,"uuid":"4158442","full_name":"StephanPartzsch/as3-airbrake-notifier","owner":"StephanPartzsch","description":"Library that sends crash reports from ActionScript 3 to airbrake (http://airbrake.io).","archived":false,"fork":false,"pushed_at":"2013-06-24T09:10:54.000Z","size":680,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-04T05:05:34.943Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StephanPartzsch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-04-27T13:17:49.000Z","updated_at":"2013-11-03T07:38:38.000Z","dependencies_parsed_at":"2022-08-02T19:45:07.402Z","dependency_job_id":null,"html_url":"https://github.com/StephanPartzsch/as3-airbrake-notifier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanPartzsch%2Fas3-airbrake-notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanPartzsch%2Fas3-airbrake-notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanPartzsch%2Fas3-airbrake-notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanPartzsch%2Fas3-airbrake-notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StephanPartzsch","download_url":"https://codeload.github.com/StephanPartzsch/as3-airbrake-notifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224819733,"owners_count":17375316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T05:01:19.836Z","updated_at":"2024-11-15T17:30:56.402Z","avatar_url":"https://github.com/StephanPartzsch.png","language":"ActionScript","funding_links":[],"categories":["Unsorted"],"sub_categories":["Other API"],"readme":"## as3-airbrake-notifier \n\nThe as3-airbrake-notifier sends errors or better said crash reports to [Airbrake](http://airbrake.io). Airbrake receives the error data, collects them and displays them in an nice overview. Simply said it is a crash reporting tool like many others which are used for iOs. But Airbrake has no integration for ActionScript. This gap is filled with the as3-airbrake-notifier and  the usage is very simple. \nA meaningful use case is the combination with the [global error handling](http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/UncaughtErrorEvent.html), so that every client error can be detected.\n    \n* * *\n    \n    \n### Notice\n\nThe SWC file of as3-airbrake-notifier requires the as3-yaul SWC to parse the stacktrace. [as3-yaul](https://github.com/StephanPartzsch/as3-yaul) can be found on github too.\n\n* * *\n    \n    \n### Example\n\n####1) Instantiate the notifier.The first two parameters are the most important. \nThe first is the application key, which can be found on the left side of the Airbrake project overview (register first). \nThe second one describes you environment. One of the three presets (testing, production, live) can be chosen from `AirbrakeNotifier`. Custom names are also supported. If it is not set, it will be 'unset'.\nThe other parameters are optional and provide more detailed information about the application in which the error occurs.\n\n    airbrakeNotifier = new AirbrakeNotifier( \"defbdb1a64105a3c8f64454dbb36b9a3\", AirbrakeNotifier.ENVIRONMENT_TESTING, \"Application_Version\", \"Host_Name\", \"Project_Root\" );\n\n####2) Register event listener to check if something went wrong while sending the crash report or if it was finished sucessfully.\n\n    airbrakeNotifier.addEventListener( Event.COMPLETE, handleSendAirbrakeNotificationComplete );\t\t\t\n    airbrakeNotifier.addEventListener( HTTPStatusEvent.HTTP_STATUS, handleAirbrakeNotificationHttpStatus );\t\t\t\n    airbrakeNotifier.addEventListener( IOErrorEvent.IO_ERROR, handleAirbrakeNotificationIoError );\n    airbrakeNotifier.addEventListener( SecurityErrorEvent.SECURITY_ERROR, handleAirbrakeSecurityError );\n  \n####3) Create a standard crash report. If the errorId is negative, the id will be ignored. The stackTrace of an `Error` object can be parsed with the `StackTraceParser` to an object of type `StackTrace` or the object is filled with custom data. \n\n    airbrakeNotifier.createCrashReport( error.errorID, error.name, error.message, StackTraceParser.parseStackTrace( error.getStackTrace() ) );\n  \n####4) Create an optional request node with information about a (failed) remote request. The most of the parameters are optional. \n\n    airbrakeNotifier.addRequestInformationsToCrashReport( \"URL\", \"COMPONENT\", \"ACTION\", requestParams, sessionParams, environmentParams );\n  \n####5) Finally send the crash report. \n\n    airbrakeNotifier.sendCrashReport();\n\n* * *\n     \n     \n### More information\n\nSee the [notifier API](http://help.airbrake.io/kb/api-2/notifier-api-version-22) for a detailed description of values and how they are used. \n\n\n### Developer\n\nThe 'as3-airbrake-notifier' was developed by [Stephan Partzsch](https://github.com/StephanPartzsch/) and [Peter Höche](https://github.com/PeterHoeche/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStephanPartzsch%2Fas3-airbrake-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FStephanPartzsch%2Fas3-airbrake-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStephanPartzsch%2Fas3-airbrake-notifier/lists"}